1 <testcase> 2 <info> 3 <keywords> 4 source analysis 5 CURL_EXTERN 6 </keywords> 7 </info> 8 9 # 10 # Client-side 11 <client> 12 <server> 13 none 14 </server> 15 16 # The VMS and OS/400 builds extract the CURL_EXTERN protos and use in 17 # the build. We break binary compatibility by changing order. Only add 18 # new entries last or bump the SONAME. 19 # 20 <name> 21 Verify CURL_EXTERN order 22 </name> 23 24 <command type="perl"> 25 %SRCDIR/extern-scan.pl %SRCDIR/.. 26 </command> 27 </client> 28 29 <verify> 30 <stdout> 31 CURL_EXTERN int (curl_strequal)(const char *s1, const char *s2); 32 CURL_EXTERN int (curl_strnequal)(const char *s1, const char *s2, size_t n); 33 CURL_EXTERN CURLFORMcode curl_formadd(struct curl_httppost **httppost, 34 CURL_EXTERN int curl_formget(struct curl_httppost *form, void *arg, 35 CURL_EXTERN void curl_formfree(struct curl_httppost *form); 36 CURL_EXTERN char *curl_getenv(const char *variable); 37 CURL_EXTERN char *curl_version(void); 38 CURL_EXTERN char *curl_easy_escape(CURL *handle, 39 CURL_EXTERN char *curl_escape(const char *string, 40 CURL_EXTERN char *curl_easy_unescape(CURL *handle, 41 CURL_EXTERN char *curl_unescape(const char *string, 42 CURL_EXTERN void curl_free(void *p); 43 CURL_EXTERN CURLcode curl_global_init(long flags); 44 CURL_EXTERN CURLcode curl_global_init_mem(long flags, 45 CURL_EXTERN void curl_global_cleanup(void); 46 CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *, 47 CURL_EXTERN void curl_slist_free_all(struct curl_slist *); 48 CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); 49 CURL_EXTERN CURLSH *curl_share_init(void); 50 CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...); 51 CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *); 52 CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion); 53 CURL_EXTERN const char *curl_easy_strerror(CURLcode); 54 CURL_EXTERN const char *curl_share_strerror(CURLSHcode); 55 CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); 56 CURL_EXTERN CURL *curl_easy_init(void); 57 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); 58 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); 59 CURL_EXTERN void curl_easy_cleanup(CURL *curl); 60 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); 61 CURL_EXTERN CURL* curl_easy_duphandle(CURL *curl); 62 CURL_EXTERN void curl_easy_reset(CURL *curl); 63 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, 64 CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, 65 CURL_EXTERN int curl_mprintf(const char *format, ...); 66 CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); 67 CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); 68 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength, 69 CURL_EXTERN int curl_mvprintf(const char *format, va_list args); 70 CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args); 71 CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args); 72 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength, 73 CURL_EXTERN char *curl_maprintf(const char *format, ...); 74 CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); 75 CURL_EXTERN CURLM *curl_multi_init(void); 76 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, 77 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, 78 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, 79 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, 80 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 81 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 82 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 83 CURL_EXTERN const char *curl_multi_strerror(CURLMcode); 84 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 85 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, 86 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, 87 CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle, 88 CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle, 89 CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, 90 CURL_EXTERN char *curl_pushheader_bynum(struct curl_pushheaders *h, 91 CURL_EXTERN char *curl_pushheader_byname(struct curl_pushheaders *h, 92 </stdout> 93 </verify> 94 95 </testcase> 96