typedef struct{ int flags;/*the type of message*/ int length;/*the length of message*/ void* message;/*the message*/ }Message;
Message msg; msg.flags=0; char buf[]="abcdef"; msg.length=strlen(buf); msg.message=buf;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)