Commit b32a8225 b32a82258bf276462baf6b864099c9d955c8d38e by Sergey Poznyakoff

Added missing declarations

1 parent a1a54fce
...@@ -171,6 +171,7 @@ extern int imap4d_rename __P ((struct imap4d_command *, char *)); ...@@ -171,6 +171,7 @@ extern int imap4d_rename __P ((struct imap4d_command *, char *));
171 extern int imap4d_search __P ((struct imap4d_command *, char *)); 171 extern int imap4d_search __P ((struct imap4d_command *, char *));
172 extern int imap4d_select __P ((struct imap4d_command *, char *)); 172 extern int imap4d_select __P ((struct imap4d_command *, char *));
173 extern int imap4d_select0 __P ((struct imap4d_command *, char *, int)); 173 extern int imap4d_select0 __P ((struct imap4d_command *, char *, int));
174 extern void imap4d_select_status __P((void));
174 extern int imap4d_status __P ((struct imap4d_command *, char *)); 175 extern int imap4d_status __P ((struct imap4d_command *, char *));
175 extern int imap4d_store __P ((struct imap4d_command *, char *)); 176 extern int imap4d_store __P ((struct imap4d_command *, char *));
176 extern int imap4d_store0 __P ((char *, int, char *, size_t)); 177 extern int imap4d_store0 __P ((char *, int, char *, size_t));
...@@ -179,7 +180,7 @@ extern int imap4d_uid __P ((struct imap4d_command *, char *)); ...@@ -179,7 +180,7 @@ extern int imap4d_uid __P ((struct imap4d_command *, char *));
179 extern int imap4d_unsubscribe __P ((struct imap4d_command *, char *)); 180 extern int imap4d_unsubscribe __P ((struct imap4d_command *, char *));
180 extern int imap4d_namespace __P ((struct imap4d_command *, char *)); 181 extern int imap4d_namespace __P ((struct imap4d_command *, char *));
181 182
182 /* Synchronisation on simultenous access. */ 183 /* Synchronisation on simultaneous access. */
183 extern int imap4d_sync __P ((void)); 184 extern int imap4d_sync __P ((void));
184 extern int imap4d_sync_flags __P ((size_t)); 185 extern int imap4d_sync_flags __P ((size_t));
185 extern size_t uid_to_msgno __P ((size_t)); 186 extern size_t uid_to_msgno __P ((size_t));
...@@ -189,6 +190,11 @@ extern RETSIGTYPE imap4d_sigchld __P ((int)); ...@@ -189,6 +190,11 @@ extern RETSIGTYPE imap4d_sigchld __P ((int));
189 extern RETSIGTYPE imap4d_signal __P ((int)); 190 extern RETSIGTYPE imap4d_signal __P ((int));
190 extern int imap4d_bye __P ((int)); 191 extern int imap4d_bye __P ((int));
191 192
193 /* Namespace functions */
194 extern char * namespace_getfullpath __P((char *name, const char *delim));
195 extern char * namespace_checkfullpath __P((char *name, const char *pattern,
196 const char *delim));
197
192 /* Helper functions. */ 198 /* Helper functions. */
193 extern int util_out __P ((int, const char *, ...)); 199 extern int util_out __P ((int, const char *, ...));
194 extern int util_send __P ((const char *, ...)); 200 extern int util_send __P ((const char *, ...));
...@@ -214,7 +220,8 @@ extern int util_parse_internal_date __P((char *date, time_t *timep)); ...@@ -214,7 +220,8 @@ extern int util_parse_internal_date __P((char *date, time_t *timep));
214 extern int util_parse_822_date __P((char *date, time_t *timep)); 220 extern int util_parse_822_date __P((char *date, time_t *timep));
215 extern int util_parse_ctime_date __P((char *date, time_t *timep)); 221 extern int util_parse_ctime_date __P((char *date, time_t *timep));
216 extern char *util_strcasestr __P((const char *haystack, const char *needle)); 222 extern char *util_strcasestr __P((const char *haystack, const char *needle));
217 223 extern char *util_normalize_path (char *path, const char *delim);
224
218 #ifdef __cplusplus 225 #ifdef __cplusplus
219 } 226 }
220 #endif 227 #endif
......