Transformer SDK For C
8.0.2.290852-a608fcd3
|
Defines the functions required to support userdata preservation. More...
Data Fields | |
char * | desc |
void *(* | fileread )(FILE *fp, char *name) |
void(* | filewrite )(FILE *fp, void *data) |
unsigned int | id |
char * | ident |
int(* | strprint )(char *dest, size_t len, void *data) |
Defines the functions required to support userdata preservation.
char* _userinfo::desc |
Longer description
void*(* _userinfo::fileread) (FILE *fp, char *name) |
Read the data from a file
void(* _userinfo::filewrite) (FILE *fp, void *data) |
Write the data to a file, this should be machine parsable
unsigned int _userinfo::id |
Identifier
char* _userinfo::ident |
Short usage string
int(* _userinfo::strprint) (char *dest, size_t len, void *data) |
Function called to write the user data into a string. This doesn't have to be in a machine parsable format