typdef help!

Joined
Jan 6, 2010
Messages
1
Reaction score
0
Can someone explain what the following typedef does/means? TIA.

typedef ABC_ERRORS (*FUNC_PTR_TYPE)(const XOBJECT * );


ABC_ERRORS: defined as:

typedef enum {
E_EOF = -24,
E_HELP_DISPATCH = -23,
E_INTERNAL_ERROR = -22,
...,
E_UNEXPECTED_PARAMS = -2,
E_UNKNOWN_CMD = -1,
E_SUCCESS = 0
} ABC_ERRORS;


XOBJECT defined as:

typedef struct SParameterObject
{
int total_pairs;
struct SPairMap ** PairMaps;
} XOBJECT;


and finally:
struct SPairMap
{
char * key;
char * value;
};

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top