Commit 5a2746be 5a2746be7c2de1c87e892b15add003f89d959737 by Sergey Poznyakoff

Prototypes for general-purpose retrieval functions.

1 parent af14afac
...@@ -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
......