mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Added formatting sections for emacs and vim
This commit is contained in:
parent
e2e3c95d3b
commit
6147879837
@ -260,3 +260,11 @@ void *suck(int *lenptr) {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -676,3 +676,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -232,3 +232,11 @@ CURLcode Curl_dict(struct connectdata *conn)
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -82,3 +82,11 @@ DllMain (
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -277,3 +277,11 @@ CURL *curl_easy_duphandle(CURL *incurl)
|
||||
|
||||
return outcurl;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -110,3 +110,11 @@ char *curl_unescape(const char *string, int length)
|
||||
return ns;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -196,3 +196,11 @@ CURLcode Curl_file(struct connectdata *conn)
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -1322,3 +1322,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -2126,3 +2126,11 @@ main (ac, av)
|
||||
/* NOTREACHED */
|
||||
}
|
||||
#endif /* defined (TEST) */
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -66,3 +66,11 @@ char *curl_getenv(const char *v)
|
||||
{
|
||||
return GetEnv(v);
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -133,3 +133,11 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
|
||||
}
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -244,3 +244,11 @@ char *getpass(const char *prompt)
|
||||
return getpass_r(prompt, buf, sizeof(buf));
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -215,3 +215,11 @@ struct hostent *Curl_gethost(struct SessionHandle *data,
|
||||
}
|
||||
return (h);
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -848,3 +848,11 @@ CURLcode Curl_http(struct connectdata *conn)
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -220,3 +220,11 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
|
||||
}
|
||||
return CHUNKE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -124,3 +124,11 @@ char *Curl_if2ip(char *interface, char *buf, int buf_size)
|
||||
#else
|
||||
#define if2ip(x) NULL
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -392,3 +392,11 @@ void Curl_krb_kauth(struct connectdata *conn)
|
||||
}
|
||||
|
||||
#endif /* KRB4 */
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -213,3 +213,11 @@ CURLcode Curl_ldap(struct connectdata *conn)
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -156,3 +156,11 @@ int curl_fclose(FILE *file, int line, const char *source)
|
||||
}
|
||||
|
||||
#endif /* MALLOCDEBUG */
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -1232,3 +1232,11 @@ int main()
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -201,3 +201,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -332,3 +332,11 @@ int Curl_pgrsUpdate(struct connectdata *conn)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -546,3 +546,11 @@ Curl_sec_end(struct connectdata *conn)
|
||||
}
|
||||
|
||||
#endif /* KRB4 */
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -291,3 +291,11 @@ CURLcode Curl_read(struct connectdata *conn, int sockfd,
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -68,3 +68,10 @@ CURLcode Curl_speedcheck(struct SessionHandle *data,
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -642,3 +642,11 @@ Curl_SSLConnect(struct connectdata *conn)
|
||||
#endif
|
||||
return retcode;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -107,3 +107,11 @@ size_t Curl_strlcat(char *dst, const char *src, size_t siz)
|
||||
return(dlen + (s - src)); /* count does not include NUL */
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -65,3 +65,10 @@ Curl_strtok_r(char *ptr, const char *sep, char **end)
|
||||
|
||||
#endif /* this was only compiled if strtok_r wasn't present */
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -1111,3 +1111,11 @@ CURLcode Curl_telnet(struct connectdata *conn)
|
||||
/* mark this as "no further transfer wanted" */
|
||||
return Curl_Transfer(conn, -1, -1, FALSE, NULL, -1, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -74,3 +74,11 @@ long Curl_tvlong (struct timeval t1)
|
||||
{
|
||||
return t1.tv_sec;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -1164,3 +1164,10 @@ Curl_Transfer(struct connectdata *c_conn, /* connection data */
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -2361,3 +2361,10 @@ CURLcode Curl_do(struct connectdata *conn)
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
@ -103,3 +103,11 @@ char *curl_version(void)
|
||||
|
||||
return version;
|
||||
}
|
||||
|
||||
/*
|
||||
* local variables:
|
||||
* eval: (load-file "../curl-mode.el")
|
||||
* end:
|
||||
* vim600: et sw=2 ts=2 sts=2 tw=78 fdm=marker
|
||||
* vim<600: et sw=2 ts=2 sts=2 tw=78
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user