By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

Function Pointer Question

P: 3
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

May 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.