diff options
author | linus <linus> | 2010-03-23 22:45:37 +0000 |
---|---|---|
committer | linus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2010-03-23 22:45:37 +0000 |
commit | eff1f8d633fa2b07396e1d1f82043823d6916ba2 (patch) | |
tree | ad45d71f8a3c40cae01d802f97ee3b76c4aecd68 | |
parent | 95f217647b71a13718301a08ab6b6e126779667a (diff) |
Add Emacs local variable for stroustrup style.
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | catgconf.c | 4 | ||||
-rw-r--r-- | debug.c | 4 | ||||
-rw-r--r-- | debug.h | 4 | ||||
-rw-r--r-- | dtls.c | 4 | ||||
-rw-r--r-- | dtls.h | 4 | ||||
-rw-r--r-- | gconfig.c | 4 | ||||
-rw-r--r-- | gconfig.h | 4 | ||||
-rw-r--r-- | hash.c | 4 | ||||
-rw-r--r-- | hash.h | 4 | ||||
-rw-r--r-- | hostport.c | 4 | ||||
-rw-r--r-- | hostport.h | 4 | ||||
-rw-r--r-- | list.c | 4 | ||||
-rw-r--r-- | list.h | 4 | ||||
-rw-r--r-- | radmsg.c | 4 | ||||
-rw-r--r-- | radmsg.h | 4 | ||||
-rw-r--r-- | radsecproxy.c | 4 | ||||
-rw-r--r-- | radsecproxy.h | 4 | ||||
-rw-r--r-- | tcp.c | 4 | ||||
-rw-r--r-- | tcp.h | 4 | ||||
-rw-r--r-- | tls.c | 4 | ||||
-rw-r--r-- | tls.h | 4 | ||||
-rw-r--r-- | tlscommon.c | 4 | ||||
-rw-r--r-- | tlscommon.h | 4 | ||||
-rw-r--r-- | tlv11.c | 4 | ||||
-rw-r--r-- | tlv11.h | 4 | ||||
-rw-r--r-- | udp.c | 4 | ||||
-rw-r--r-- | udp.h | 4 | ||||
-rw-r--r-- | util.c | 4 | ||||
-rw-r--r-- | util.h | 4 |
29 files changed, 116 insertions, 0 deletions
@@ -67,3 +67,7 @@ usage: debug(DBG_ERR, "Usage:\n%s [ -c ] configfile", argv[0]); exit(1); } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -177,3 +177,7 @@ void debugx(int status, uint8_t level, char *format, ...) { } exit(status); } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -23,3 +23,7 @@ void debug(uint8_t level, char *format, ...); void debugx(int status, uint8_t level, char *format, ...); int debug_set_destination(char *dest); void debug_reopen_log(); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -709,3 +709,7 @@ const struct protodefs *dtlsinit(uint8_t h) { return NULL; } #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -7,3 +7,7 @@ */ const struct protodefs *dtlsinit(uint8_t h); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -545,3 +545,7 @@ errexit: free(val); return 0; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -23,3 +23,7 @@ int popgconf(struct gconffile **cf); void freegconfmstr(char **mstr); void freegconf(struct gconffile **cf); struct gconffile *openconfigfile(const char *file); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -130,3 +130,7 @@ struct hash_entry *hash_next(struct hash_entry *entry) { e->next = (struct list_node *)entry->next->next; return e; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -42,3 +42,7 @@ struct hash_entry *hash_first(struct hash *hash); /* returns the next entry after the argument */ struct hash_entry *hash_next(struct hash_entry *entry); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -305,3 +305,7 @@ int connecttcphostlist(struct list *hostports, struct addrinfo *src) { debug(DBG_ERR, "connecttcphostlist: failed"); return -1; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -22,3 +22,7 @@ int resolvehostports(struct list *hostports, int socktype); struct addrinfo *resolvepassiveaddrinfo(char *hostport, char *default_port, int socktype); int addressmatches(struct list *hostports, struct sockaddr *addr, uint8_t checkport); int connecttcphostlist(struct list *hostports, struct addrinfo *src); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -117,3 +117,7 @@ struct list_node *list_next(struct list_node *node) { uint32_t list_count(struct list *list) { return list->count; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -45,3 +45,7 @@ struct list_node *list_next(struct list_node *node); /* returns number of nodes */ uint32_t list_count(struct list *list); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -312,3 +312,7 @@ struct radmsg *buf2radmsg(uint8_t *buf, uint8_t *secret, uint8_t *rqauth) { } return msg; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -39,3 +39,7 @@ int radmsg_add(struct radmsg *, struct tlv *); struct tlv *radmsg_gettype(struct radmsg *, uint8_t); uint8_t *radmsg2buf(struct radmsg *msg, uint8_t *); struct radmsg *buf2radmsg(uint8_t *, uint8_t *, uint8_t *); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ diff --git a/radsecproxy.c b/radsecproxy.c index 350fcb2..7a8b5e2 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3198,3 +3198,7 @@ int main(int argc, char **argv) { for (;;) sleep(1000); } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ diff --git a/radsecproxy.h b/radsecproxy.h index 314c000..4601259 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -209,3 +209,7 @@ void freerq(struct request *rq); int radsrv(struct request *rq); void replyh(struct server *server, unsigned char *buf); struct addrinfo *resolve_hostport_addrinfo(uint8_t type, char *hostport); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -372,3 +372,7 @@ const struct protodefs *tcpinit(uint8_t h) { return NULL; } #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -7,3 +7,7 @@ */ const struct protodefs *tcpinit(uint8_t h); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -473,3 +473,7 @@ const struct protodefs *tlsinit(uint8_t h) { return NULL; } #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -7,3 +7,7 @@ */ const struct protodefs *tlsinit(uint8_t h); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ diff --git a/tlscommon.c b/tlscommon.c index 40ea180..6d36ebb 100644 --- a/tlscommon.c +++ b/tlscommon.c @@ -635,3 +635,7 @@ int addmatchcertattr(struct clsrvconf *conf) { static void tlsdummy() { } #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ diff --git a/tlscommon.h b/tlscommon.h index 97388e4..084cb1c 100644 --- a/tlscommon.h +++ b/tlscommon.h @@ -33,3 +33,7 @@ int verifyconfcert(X509 *cert, struct clsrvconf *conf); int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val); int addmatchcertattr(struct clsrvconf *conf); #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -120,3 +120,7 @@ uint8_t *tlv2buf(uint8_t *p, struct tlv *tlv) { } return p; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -21,3 +21,7 @@ void freetlvlist(struct list *); void rmtlv(struct list *, uint8_t); uint8_t *tlv2str(struct tlv *tlv); uint8_t *tlv2buf(uint8_t *, struct tlv *tlv); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -366,3 +366,7 @@ const struct protodefs *udpinit(uint8_t h) { return NULL; } #endif + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -7,3 +7,7 @@ */ const struct protodefs *udpinit(uint8_t h); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -250,3 +250,7 @@ int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout } return s; } + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ @@ -19,3 +19,7 @@ void disable_DF_bit(int socket, struct addrinfo *res); int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only); int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout); + +/* Local Variables: */ +/* c-file-style: "stroustrup" */ +/* End: */ |