Is there an alternate syntax to typedef function pointers? <p>For doing a typedef for a function pointer, we do something like this,</p> <pre><code>typedef int (*func) (char*); typedef struct{ char * name; func f1; } </code></pre> <p>As opposed to this, I came across a code, which I don't understand.</p> <pre><code>typedef int rl_icpfunc_t (char *); typedef struct { char *name; /* User printable name of the function. */ rl_icpfunc_t *func; /* Function to call to do the job. */ char *doc; /* Documentation for this function. */ }COMMAND; </code></pre> <p>This is a code snippet from an example of the libedit library. Can someone please explain this to me?</p>