Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
net_term.h
Go to the documentation of this file.
1 
12 #ifndef NET_TERM_H
13 #define NET_TERM_H
14 
15 struct my_context {
16  int value;
17  char* message;
18 };
19 
23 typedef struct ksnTermClass {
24 
25  void *ke; // Pointer to ksnEvMgrClass
26 
27  struct my_context myctx;
28  struct cli_def *cli;
29 
30 } ksnTermClass;
31 
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
38 void ksnTermDestroy(ksnTermClass *kte);
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* NET_TERM_H */
struct my_context myctx
Definition: net_term.h:27
struct ksnTermClass ksnTermClass
KSNet terminal module class data definition.
File: net_term.h Author: Kirill Scherba.
Definition: net_term.h:15
KSNet terminal module class data definition.
Definition: net_term.h:23
Definition: net_cli.h:43
ksnTermClass * ksnTermInit(void *ke)
#define ke
void ksnTermDestroy(ksnTermClass *kte)
char * message
Definition: net_term.h:17
int value
Definition: net_term.h:16
void * ke
Definition: net_term.h:25
struct cli_def * cli
Definition: net_term.h:28