libbionet-internal.h
来自「MANTIS是由科罗拉多大学开发的传感器网络嵌入式操作系统。 这是mantis」· C头文件 代码 · 共 62 行
H
62 行
#ifndef __LIBBIONET_INTERNAL_H#define __LIBBIONET_INTERNAL_H#include <glib.h>#include <libxml/tree.h>#include "bionet.h"#include "bionet-util.h"#include "bionet-nxio.h"extern GSList *libbionet_queued_messages_from_nag;extern char *libbionet_nag_hostname;extern unsigned short libbionet_nag_port;extern int libbionet_nag_timeout;extern bionet_nxio_t *libbionet_nag_nxio;extern char *libbionet_client_id;extern char *libbionet_nag_error;extern void (*libbionet_callback_new_node)(bionet_node_t *node);extern void (*libbionet_callback_lost_node)(const char *hab_type, const char *hab_id, const char *node_id);extern void (*libbionet_callback_resource_value)(bionet_resource_t *resource);void libbionet_kill_nag_connection(void);int libbionet_send_to_nag(const char *fmt, ...);int libbionet_read_ok_from_nag(void);// sets libbionet_nag_error, frees xmlvoid libbionet_handle_error_message(xmlDoc *xml);// puts the NAG-Request message on the queue to be dealt with latervoid libbionet_queue_nag_message(xmlDoc *xml);bionet_node_t *libbionet_parse_node_from_xml(xmlNode *node_node);bionet_resource_t *libbionet_parse_resource(xmlNode *resource_node);#endif // __LIBBIONET_INTERNAL_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?