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 curl_mime *curl_mime_init(CURL *easy); 34 CURL_EXTERN void curl_mime_free(curl_mime *mime); 35 CURL_EXTERN curl_mimepart *curl_mime_addpart(curl_mime *mime); 36 CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name); 37 CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part, 38 CURL_EXTERN CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype); 39 CURL_EXTERN CURLcode curl_mime_encoder(curl_mimepart *part, 40 CURL_EXTERN CURLcode curl_mime_data(curl_mimepart *part, 41 CURL_EXTERN CURLcode curl_mime_filedata(curl_mimepart *part, 42 CURL_EXTERN CURLcode curl_mime_data_cb(curl_mimepart *part, 43 CURL_EXTERN CURLcode curl_mime_subparts(curl_mimepart *part, 44 CURL_EXTERN CURLcode curl_mime_headers(curl_mimepart *part, 45 CURL_EXTERN CURLFORMcode curl_formadd(struct curl_httppost **httppost, 46 CURL_EXTERN int curl_formget(struct curl_httppost *form, void *arg, 47 CURL_EXTERN void curl_formfree(struct curl_httppost *form); 48 CURL_EXTERN char *curl_getenv(const char *variable); 49 CURL_EXTERN char *curl_version(void); 50 CURL_EXTERN char *curl_easy_escape(CURL *handle, 51 CURL_EXTERN char *curl_escape(const char *string, 52 CURL_EXTERN char *curl_easy_unescape(CURL *handle, 53 CURL_EXTERN char *curl_unescape(const char *string, 54 CURL_EXTERN void curl_free(void *p); 55 CURL_EXTERN CURLcode curl_global_init(long flags); 56 CURL_EXTERN CURLcode curl_global_init_mem(long flags, 57 CURL_EXTERN void curl_global_cleanup(void); 58 CURL_EXTERN CURLsslset curl_global_sslset(curl_sslbackend id, const char *name, 59 CURL_EXTERN struct curl_slist *curl_slist_append(struct curl_slist *, 60 CURL_EXTERN void curl_slist_free_all(struct curl_slist *); 61 CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); 62 CURL_EXTERN CURLSH *curl_share_init(void); 63 CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option, ...); 64 CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *); 65 CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion); 66 CURL_EXTERN const char *curl_easy_strerror(CURLcode); 67 CURL_EXTERN const char *curl_share_strerror(CURLSHcode); 68 CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); 69 CURL_EXTERN CURL *curl_easy_init(void); 70 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); 71 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); 72 CURL_EXTERN void curl_easy_cleanup(CURL *curl); 73 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...); 74 CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl); 75 CURL_EXTERN void curl_easy_reset(CURL *curl); 76 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, 77 CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, 78 CURL_EXTERN int curl_mprintf(const char *format, ...); 79 CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); 80 CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); 81 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength, 82 CURL_EXTERN int curl_mvprintf(const char *format, va_list args); 83 CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args); 84 CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args); 85 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength, 86 CURL_EXTERN char *curl_maprintf(const char *format, ...); 87 CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); 88 CURL_EXTERN CURLM *curl_multi_init(void); 89 CURL_EXTERN CURLMcode curl_multi_add_handle(CURLM *multi_handle, 90 CURL_EXTERN CURLMcode curl_multi_remove_handle(CURLM *multi_handle, 91 CURL_EXTERN CURLMcode curl_multi_fdset(CURLM *multi_handle, 92 CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, 93 CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, 94 CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); 95 CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, 96 CURL_EXTERN const char *curl_multi_strerror(CURLMcode); 97 CURL_EXTERN CURLMcode curl_multi_socket(CURLM *multi_handle, curl_socket_t s, 98 CURL_EXTERN CURLMcode curl_multi_socket_action(CURLM *multi_handle, 99 CURL_EXTERN CURLMcode curl_multi_socket_all(CURLM *multi_handle, 100 CURL_EXTERN CURLMcode curl_multi_timeout(CURLM *multi_handle, 101 CURL_EXTERN CURLMcode curl_multi_setopt(CURLM *multi_handle, 102 CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, 103 CURL_EXTERN char *curl_pushheader_bynum(struct curl_pushheaders *h, 104 CURL_EXTERN char *curl_pushheader_byname(struct curl_pushheaders *h, 105 </stdout> 106 </verify> 107 108 </testcase> 109