470,815 Members | 2,026 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Function Pointer Question

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
May 10 '06 #1
0 1204

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by Ben | last post: by
3 posts views Thread by Bryan Parkoff | last post: by
89 posts views Thread by Sweety | last post: by
41 posts views Thread by Alexei A. Frounze | last post: by
3 posts views Thread by Beta What | last post: by
54 posts views Thread by John | last post: by
12 posts views Thread by Googy | last post: by
5 posts views Thread by pauldepstein | last post: by
20 posts views Thread by MikeC | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.