diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-02-13 11:02:38 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-02-13 11:02:38 +0000 |
commit | 1bdb64235fb7b4e805f079cd335df9b97f6843d5 (patch) | |
tree | 9f1ac69366259ed8adc4ac064084f00179f81f03 /usr.sbin/relayd/relayd.h | |
parent | a00b019d1e124baa28d8917c653d81e881b94efe (diff) |
stylistic change: move code to add protonodes from the BNF into
seperate functions in relayd.c (protonode_add/protonode_header). this
code got to big to look nice in the BNF statements...
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r-- | usr.sbin/relayd/relayd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index 446347925f6..223ab26dce7 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.97 2008/02/11 10:42:50 reyk Exp $ */ +/* $OpenBSD: relayd.h,v 1.98 2008/02/13 11:02:37 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -825,6 +825,10 @@ void purge_table(struct tablelist *, struct table *); void merge_config(struct relayd *, struct relayd *); char *digeststr(enum digest_type, const u_int8_t *, size_t, char *); const char *canonicalize_host(const char *, char *, size_t); +struct protonode *protonode_header(enum direction, struct protocol *, + struct protonode *); +int protonode_add(enum direction, struct protocol *, + struct protonode *); /* carp.c */ int carp_demote_init(char *, int); |