Commit eff1f8d6 authored by linus's avatar linus Committed by linus

Add Emacs local variable for stroustrup style.

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 95f21764
......@@ -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: */
......@@ -3198,3 +3198,7 @@ int main(int argc, char **argv) {
for (;;)
sleep(1000);
}
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */
......@@ -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: */
......@@ -635,3 +635,7 @@ int addmatchcertattr(struct clsrvconf *conf) {
static void tlsdummy() {
}
#endif
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment