#include /* for printf */ #include /* for type apr_status_t */ #include /* for func apr_pool_create */ #include /* for type apr_hash_t, func apr_hash_make */ void foobar() { apr_status_t mystatus; /* is really an int */ apr_pool_t *mypool; /* is really a struct */ mystatus = apr_pool_create(&mypool, NULL); /* NULL = no parent pool */ printf("apr_pool_create returned [%d]\n", mystatus); /* printf("mypool = [%???]\n", mypool); */ apr_hash_t *myhash; /* is really a struct */ myhash = apr_hash_make(mypool); } int main(char argc, char **args) { foobar(); return 0; }