|
design_pattern_for_c
V 1.00
|
message struct definition More...

Public Types | |
| enum | { EVE_THREAD_MSG_TYPE_ADD, EVE_THREAD_MSG_TYPE_UPDATE, EVE_THREAD_MSG_TYPE_DEL, EVE_THREAD_MSG_TYPE_STOP } |
Data Fields | |
| enum event_thread_msg_t:: { ... } | type |
| union { | |
| event_thread_msg_body_add_t add | |
| when msg is update, body is subscribe More... | |
| event_thread_msg_body_del_t del | |
| when msg is del, body is fd More... | |
| } | data |
message struct definition
Definition at line 64 of file event_thread.c.
| anonymous enum |
| Enumerator | |
|---|---|
| EVE_THREAD_MSG_TYPE_ADD | |
| EVE_THREAD_MSG_TYPE_UPDATE | |
| EVE_THREAD_MSG_TYPE_DEL | |
| EVE_THREAD_MSG_TYPE_STOP | |
Definition at line 65 of file event_thread.c.
when msg is update, body is subscribe
Definition at line 72 of file event_thread.c.
| union { ... } data |
when msg is del, body is fd
Definition at line 73 of file event_thread.c.
| enum { ... } type |