aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@bumblebury.com>2001-09-07 04:01:32 +0000
committerSterling Hughes <sterling@bumblebury.com>2001-09-07 04:01:32 +0000
commit6147879837a53d22c9be04e7a4fc315a297ba2b3 (patch)
tree22589e7eedbd51f6f57a9e3f89349064d4e606cf
parente2e3c95d3b2e34e9119f966937e90c741e2abba0 (diff)
Added formatting sections for emacs and vim
-rw-r--r--lib/base64.c8
-rw-r--r--lib/cookie.c8
-rw-r--r--lib/dict.c8
-rw-r--r--lib/dllinit.c8
-rw-r--r--lib/easy.c8
-rw-r--r--lib/escape.c8
-rw-r--r--lib/file.c8
-rw-r--r--lib/formdata.c8
-rw-r--r--lib/getdate.c8
-rw-r--r--lib/getenv.c8
-rw-r--r--lib/getinfo.c8
-rw-r--r--lib/getpass.c8
-rw-r--r--lib/hostip.c8
-rw-r--r--lib/http.c8
-rw-r--r--lib/http_chunks.c8
-rw-r--r--lib/if2ip.c8
-rw-r--r--lib/krb4.c8
-rw-r--r--lib/ldap.c8
-rw-r--r--lib/memdebug.c8
-rw-r--r--lib/mprintf.c8
-rw-r--r--lib/netrc.c8
-rw-r--r--lib/progress.c8
-rw-r--r--lib/security.c8
-rw-r--r--lib/sendf.c8
-rw-r--r--lib/speedcheck.c7
-rw-r--r--lib/ssluse.c8
-rw-r--r--lib/strequal.c8
-rw-r--r--lib/strtok.c7
-rw-r--r--lib/telnet.c8
-rw-r--r--lib/timeval.c8
-rw-r--r--lib/transfer.c7
-rw-r--r--lib/url.c7
-rw-r--r--lib/version.c8
33 files changed, 260 insertions, 0 deletions
diff --git a/lib/base64.c b/lib/base64.c
index 6ff6b955a..49b2096f0 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -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
+ */
diff --git a/lib/cookie.c b/lib/cookie.c
index f303363d8..f17f39c83 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -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
+ */
diff --git a/lib/dict.c b/lib/dict.c
index f8763e29a..2bc350b31 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -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
+ */
diff --git a/lib/dllinit.c b/lib/dllinit.c
index 84b171658..d4a276465 100644
--- a/lib/dllinit.c
+++ b/lib/dllinit.c
@@ -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
+ */
diff --git a/lib/easy.c b/lib/easy.c
index f9cb6d860..07a0aa8b1 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -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
+ */
diff --git a/lib/escape.c b/lib/escape.c
index ab355bf0f..10a863ece 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -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
+ */
diff --git a/lib/file.c b/lib/file.c
index 2b95d55aa..1c9c6ba5f 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -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
+ */
diff --git a/lib/formdata.c b/lib/formdata.c
index bbca0b8f7..728fe33e3 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -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
+ */
diff --git a/lib/getdate.c b/lib/getdate.c
index df25f1ad4..9eb43a408 100644
--- a/lib/getdate.c
+++ b/lib/getdate.c
@@ -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
+ */
diff --git a/lib/getenv.c b/lib/getenv.c
index 91f3f7bd7..cb902a540 100644
--- a/lib/getenv.c
+++ b/lib/getenv.c
@@ -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
+ */
diff --git a/lib/getinfo.c b/lib/getinfo.c
index fef5fec67..88a139e3a 100644
--- a/lib/getinfo.c
+++ b/lib/getinfo.c
@@ -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
+ */
diff --git a/lib/getpass.c b/lib/getpass.c
index 01d3ea7c9..7476881ca 100644
--- a/lib/getpass.c
+++ b/lib/getpass.c
@@ -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
+ */
diff --git a/lib/hostip.c b/lib/hostip.c
index 5fdd9ddcd..8526fb91c 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -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
+ */
diff --git a/lib/http.c b/lib/http.c
index a1ab24b86..6ba4d235a 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -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
+ */
diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 02d7f3788..9cb2aa473 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -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
+ */
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 261de990a..92905ccfd 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -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
+ */
diff --git a/lib/krb4.c b/lib/krb4.c
index ba7643e96..bd5db881b 100644
--- a/lib/krb4.c
+++ b/lib/krb4.c
@@ -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
+ */
diff --git a/lib/ldap.c b/lib/ldap.c
index 77570c2e5..c8cc7e56d 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -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
+ */
diff --git a/lib/memdebug.c b/lib/memdebug.c
index f0e104a6d..c8902c1d7 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -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
+ */
diff --git a/lib/mprintf.c b/lib/mprintf.c
index 6e28d2b32..375f4b3e0 100644
--- a/lib/mprintf.c
+++ b/lib/mprintf.c
@@ -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
+ */
diff --git a/lib/netrc.c b/lib/netrc.c
index 9e5fde824..ae5a6734c 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -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
+ */
diff --git a/lib/progress.c b/lib/progress.c
index 45bc407f3..08611e920 100644
--- a/lib/progress.c
+++ b/lib/progress.c
@@ -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
+ */
diff --git a/lib/security.c b/lib/security.c
index 616f9e04a..8be86850d 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -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
+ */
diff --git a/lib/sendf.c b/lib/sendf.c
index 93834940b..240b65bfe 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -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
+ */
diff --git a/lib/speedcheck.c b/lib/speedcheck.c
index 274ceb108..465a2aa0f 100644
--- a/lib/speedcheck.c
+++ b/lib/speedcheck.c
@@ -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
+ */
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 9b40f1970..e14601564 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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
+ */
diff --git a/lib/strequal.c b/lib/strequal.c
index e05832efd..54ecb74bb 100644
--- a/lib/strequal.c
+++ b/lib/strequal.c
@@ -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
+ */
diff --git a/lib/strtok.c b/lib/strtok.c
index a1525df02..b80bdb138 100644
--- a/lib/strtok.c
+++ b/lib/strtok.c
@@ -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
+ */
diff --git a/lib/telnet.c b/lib/telnet.c
index 2508892b0..f190b7cf0 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -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
+ */
diff --git a/lib/timeval.c b/lib/timeval.c
index dfae21a30..0535c1511 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -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
+ */
diff --git a/lib/transfer.c b/lib/transfer.c
index 22d8b8bf5..e2685b552 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -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
+ */
diff --git a/lib/url.c b/lib/url.c
index 3bfcafb18..42a531271 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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
+ */
diff --git a/lib/version.c b/lib/version.c
index 32a37b067..ae3a865e1 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -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
+ */