Prototypes for general-purpose retrieval functions.
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -26,6 +26,7 @@ | ... | @@ -26,6 +26,7 @@ |
26 | #include <time.h> | 26 | #include <time.h> |
27 | 27 | ||
28 | #include <mailutils/mu_features.h> | 28 | #include <mailutils/mu_features.h> |
29 | #include <mailutils/list.h> | ||
29 | 30 | ||
30 | #ifdef __cplusplus | 31 | #ifdef __cplusplus |
31 | extern "C" { | 32 | extern "C" { |
... | @@ -79,6 +80,11 @@ extern char * mu_getcwd __P((void)); | ... | @@ -79,6 +80,11 @@ extern char * mu_getcwd __P((void)); |
79 | 80 | ||
80 | extern int mu_spawnvp(const char* prog, const char* const av[], int* stat); | 81 | extern int mu_spawnvp(const char* prog, const char* const av[], int* stat); |
81 | 82 | ||
83 | typedef void *(*mu_retrieve_fp) __P((void *)); | ||
84 | extern void mu_register_retriever __P((list_t *pflist, mu_retrieve_fp fun)); | ||
85 | extern void * mu_retrieve __P((list_t flist, void *data)); | ||
86 | |||
87 | |||
82 | #ifdef __cplusplus | 88 | #ifdef __cplusplus |
83 | } | 89 | } |
84 | #endif | 90 | #endif | ... | ... |
-
Please register or sign in to post a comment