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/if_rmap.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/if_rmap.h')
| -rw-r--r-- | lib/if_rmap.h | 30 | 
1 files changed, 12 insertions, 18 deletions
diff --git a/lib/if_rmap.h b/lib/if_rmap.h index e6c2966ff8..c6c5d80dc6 100644 --- a/lib/if_rmap.h +++ b/lib/if_rmap.h @@ -16,32 +16,26 @@   * You should have received a copy of the GNU General Public License   * along with GNU Zebra; see the file COPYING.  If not, write to the Free   * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA.   + * 02111-1307, USA.   */  #ifndef _ZEBRA_IF_RMAP_H  #define _ZEBRA_IF_RMAP_H -enum if_rmap_type -{ -  IF_RMAP_IN, -  IF_RMAP_OUT, -  IF_RMAP_MAX -}; +enum if_rmap_type { IF_RMAP_IN, IF_RMAP_OUT, IF_RMAP_MAX }; -struct if_rmap -{ -  /* Name of the interface. */ -  char *ifname; +struct if_rmap { +	/* Name of the interface. */ +	char *ifname; -  char *routemap[IF_RMAP_MAX]; +	char *routemap[IF_RMAP_MAX];  }; -extern void if_rmap_init (int); -extern void if_rmap_reset (void); -extern void if_rmap_hook_add (void (*) (struct if_rmap *)); -extern void if_rmap_hook_delete (void (*) (struct if_rmap *)); -extern struct if_rmap *if_rmap_lookup (const char *); -extern int config_write_if_rmap (struct vty *); +extern void if_rmap_init(int); +extern void if_rmap_reset(void); +extern void if_rmap_hook_add(void (*)(struct if_rmap *)); +extern void if_rmap_hook_delete(void (*)(struct if_rmap *)); +extern struct if_rmap *if_rmap_lookup(const char *); +extern int config_write_if_rmap(struct vty *);  #endif /* _ZEBRA_IF_RMAP_H */  | 
