diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-08-09 11:49:42 +0200 | 
|---|---|---|
| committer | whitespace / reindent <invalid@invalid.invalid> | 2017-08-09 12:03:17 +0200 | 
| commit | ac4d0be5874fafd14212d6007fff7495edc9b152 (patch) | |
| tree | 5e2f0d3189de928c849f9983406389ade3b098cb /lib/distribute.h | |
| parent | 76a86854181c27819e5cf71b12ae1fa5ccd9e02a (diff) | |
*: reindentreindent-3.0-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/distribute.h')
| -rw-r--r-- | lib/distribute.h | 50 | 
1 files changed, 25 insertions, 25 deletions
diff --git a/lib/distribute.h b/lib/distribute.h index e9625a3548..66b1f5e949 100644 --- a/lib/distribute.h +++ b/lib/distribute.h @@ -27,37 +27,37 @@  #include "filter.h"  /* Disctirubte list types. */ -enum distribute_type -{ -  DISTRIBUTE_V4_IN, -  DISTRIBUTE_V6_IN, -  DISTRIBUTE_V4_OUT, -  DISTRIBUTE_V6_OUT, -  DISTRIBUTE_MAX +enum distribute_type { +	DISTRIBUTE_V4_IN, +	DISTRIBUTE_V6_IN, +	DISTRIBUTE_V4_OUT, +	DISTRIBUTE_V6_OUT, +	DISTRIBUTE_MAX  }; -struct distribute -{ -  /* Name of the interface. */ -  char *ifname; +struct distribute { +	/* Name of the interface. */ +	char *ifname; -  /* Filter name of `in' and `out' */ -  char *list[DISTRIBUTE_MAX]; +	/* Filter name of `in' and `out' */ +	char *list[DISTRIBUTE_MAX]; -  /* prefix-list name of `in' and `out' */ -  char *prefix[DISTRIBUTE_MAX]; +	/* prefix-list name of `in' and `out' */ +	char *prefix[DISTRIBUTE_MAX];  };  /* Prototypes for distribute-list. */ -extern void distribute_list_init (int); -extern void distribute_list_reset (void); -extern void distribute_list_add_hook (void (*) (struct distribute *)); -extern void distribute_list_delete_hook (void (*) (struct distribute *)); -extern struct distribute *distribute_lookup (const char *); -extern int config_write_distribute (struct vty *); -extern int config_show_distribute (struct vty *); - -extern enum filter_type distribute_apply_in (struct interface *, struct prefix *); -extern enum filter_type distribute_apply_out (struct interface *, struct prefix *); +extern void distribute_list_init(int); +extern void distribute_list_reset(void); +extern void distribute_list_add_hook(void (*)(struct distribute *)); +extern void distribute_list_delete_hook(void (*)(struct distribute *)); +extern struct distribute *distribute_lookup(const char *); +extern int config_write_distribute(struct vty *); +extern int config_show_distribute(struct vty *); + +extern enum filter_type distribute_apply_in(struct interface *, +					    struct prefix *); +extern enum filter_type distribute_apply_out(struct interface *, +					     struct prefix *);  #endif /* _ZEBRA_DISTRIBUTE_H */  | 
