XML interface between Application and AGENT module & GTK interface. More...
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <gtk/gtk.h>
#include "vos.h"
#include "vos_parser.h"
#include "app_api.h"
#include "expat.h"
#include "net_remote.h"
#include "net_local.h"
#include "app_main.h"
#include "support.h"
#include "app_itf.h"
Functions | |
vos_res_t | app_itf_rx_local (u8 *in_pu8_data, u32 in_u32_len) |
This function is the interface that receive messages from local agent to parse its. | |
vos_res_t | app_itf_rx_remote (u8 *in_pu8_data, u32 in_u32_len) |
This function is the interface that receive messages from remote agent to parse its. | |
vos_res_t | app_itf_connect (u32 in_u32_app_id, char *in_pc_local_login, char *in_pc_local_password, char *in_pc_remote_server_ipaddr, char *in_pc_remote_login, char *in_pc_remote_password) |
This interface connect the application to the knetd agent. | |
GtkWidget * | create_window1 (PlusMinUserInterface *ui_backlight) |
This function create the GUI of our application. |
XML interface between Application and AGENT module & GTK interface.
This file contains the XML interface betwwen Application and AGENT and the GTK interface.
app_itf_connect | ( | u32 | in_u32_app_id, | |
char * | in_pc_local_login, | |||
char * | in_pc_local_password, | |||
char * | in_pc_remote_server_ipaddr, | |||
char * | in_pc_remote_login, | |||
char * | in_pc_remote_password | |||
) |
This interface connect the application to the knetd agent.
in_u32_app_id | is the id of this application for Knet agent. | |
in_pc_local_login | is the KMS login for local agent. | |
in_pc_local_password | is the KMS password for local agent. | |
in_pc_remote_server_ipaddr | is IP address of the device. | |
in_pc_remote_login | is the KMS login for local agent. | |
in_pc_remote_password | is the KMS password for local agent. |
Referenced by app_api_connect().
app_itf_rx_local | ( | u8 * | in_pu8_data, | |
u32 | in_u32_len | |||
) |
This function is the interface that receive messages from local agent to parse its.
in_pu8_data | contain the message. | |
in_u32_len | is the size of the message. |
Referenced by app_itf_connect().
app_itf_rx_remote | ( | u8 * | in_pu8_data, | |
u32 | in_u32_len | |||
) |
This function is the interface that receive messages from remote agent to parse its.
in_pu8_data | contain the message. | |
in_u32_len | is the size of the message. |
Referenced by app_itf_connect().
create_window1 | ( | PlusMinUserInterface * | ui_backlight | ) |
This function create the GUI of our application.
ui_backlight | is the interface to drive the backlight. |
Referenced by main().