Hi all. New to the forum so I am reposting question in what I believe to be the correct forum:
I came across this code in a header file:
typedef am_status_t (*add_header_func_t)(
void **args, const char *name, const char *val);
typedef struct {
add_header_func_t func;
void **args;
} add_header_t;
The first typedef is my function pointer. What is the second called and how is it used? Is this the actual declaration of the function?
thanks in advance
teegs