version 1.1.1.3, 2013/07/21 23:54:39
|
version 1.1.1.4, 2016/11/02 10:09:11
|
Line 34 struct vty
|
Line 34 struct vty
|
/* File descripter of this vty. */ |
/* File descripter of this vty. */ |
int fd; |
int fd; |
|
|
|
/* output FD, to support stdin/stdout combination */ |
|
int wfd; |
|
|
/* Is this vty connect to file or not */ |
/* Is this vty connect to file or not */ |
enum {VTY_TERM, VTY_FILE, VTY_SHELL, VTY_SHELL_SERV} type; |
enum {VTY_TERM, VTY_FILE, VTY_SHELL, VTY_SHELL_SERV} type; |
|
|
Line 217 do {
|
Line 220 do {
|
} \ |
} \ |
} while (0) |
} while (0) |
|
|
|
#define VTY_WARN_EXPERIMENTAL() \ |
|
do { \ |
|
vty_out (vty, "%% WARNING: this command is experimental. Both its name and" \ |
|
" parameters may%s%% change in a future version of Quagga," \ |
|
" possibly breaking your configuration!%s", \ |
|
VTY_NEWLINE, VTY_NEWLINE); \ |
|
} while (0) |
|
|
/* Exported variables */ |
/* Exported variables */ |
extern char integrate_default[]; |
extern char integrate_default[]; |
|
|
Line 226 extern void vty_init_vtysh (void);
|
Line 237 extern void vty_init_vtysh (void);
|
extern void vty_terminate (void); |
extern void vty_terminate (void); |
extern void vty_reset (void); |
extern void vty_reset (void); |
extern struct vty *vty_new (void); |
extern struct vty *vty_new (void); |
|
extern struct vty *vty_stdio (void (*atclose)(void)); |
extern int vty_out (struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3); |
extern int vty_out (struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3); |
extern void vty_read_config (char *, char *); |
extern void vty_read_config (char *, char *); |
extern void vty_time_print (struct vty *, int); |
extern void vty_time_print (struct vty *, int); |
Line 242 extern void vty_hello (struct vty *);
|
Line 254 extern void vty_hello (struct vty *);
|
|
|
/* Send a fixed-size message to all vty terminal monitors; this should be |
/* Send a fixed-size message to all vty terminal monitors; this should be |
an async-signal-safe function. */ |
an async-signal-safe function. */ |
extern void vty_log_fixed (const char *buf, size_t len); | extern void vty_log_fixed (char *buf, size_t len); |
|
|
#endif /* _ZEBRA_VTY_H */ |
#endif /* _ZEBRA_VTY_H */ |