summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_user.c
Commit message (Collapse)AuthorAgeFilesLines
* doc, vtysh: Fixup of history handlingDonald Sharp2016-02-261-0/+10
| | | | | | | | | | | This fix does two things: 1) If the ${HOME}/.history_quagga file does not exist, create it for history storing. 2) Allow vtysh -c "..." commands to be stored in history file as well Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* vtysh: allow --with-libpam to build with --enable-werrorDonald Sharp2015-09-241-1/+1
| | | | | | | The function vtysh_pam fails the build with --enable-werror enabled because it is a static function not declared as such Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* vtysh: fix function prototypesDavid Lamparter2015-04-211-7/+11
| | | | | | | This makes a whole bunch of vtysh functions static, fixes prototypes for a few more, and masks user_free() and user_write_config() (both unused.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: add missing includesDavid Lamparter2015-04-211-0/+1
| | | | | | | Some places, particularly headers, were spewing warnings since they don't include neccessary other headers to get struct/enum definitions. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* [cleanup] Convert XMALLOC/memset to XCALLOCStephen Hemminger2009-06-121-4/+1
| | | | Simple conversion of XMALLOC/memset to XCALLOC
* 2005-07-12 Christian Hammers <ch@debian.org>paul2005-07-121-13/+13
| | | | | * vtysh_user.c: rename struct user to struct vtysh_user to avoid clashes with sys/user.h on ARM.
* 2005-04-07 Paul Jakma <paul.jakma@sun.com>quagga_post_listloop_cleanuppaul2005-04-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (global): Fix up list loops to match changes in lib/linklist, and some basic auditing of usage. * configure.ac: define QUAGGA_NO_DEPRECATED_INTERFACES * HACKING: Add notes about deprecating interfaces and commands. * lib/linklist.h: Add usage comments. Rename getdata macro to listgetdata. Rename nextnode to listnextnode and fix its odd behaviour to be less dangerous. Make listgetdata macro assert node is not null, NULL list entries should be bug condition. ALL_LIST_ELEMENTS, new macro, forward-referencing macro for use with for loop, Suggested by Jim Carlson of Sun. Add ALL_LIST_ELEMENTS_RO for cases which obviously do not need the "safety" of previous macro. LISTNODE_ADD and DELETE macros renamed to ATTACH, DETACH, to distinguish from the similarly named functions, and reflect their effect better. Add a QUAGGA_NO_DEPRECATED_INTERFACES define guarded section with the old defines which were modified above, for backwards compatibility - guarded to prevent Quagga using it.. * lib/linklist.c: fix up for linklist.h changes. * ospf6d/ospf6_abr.c: (ospf6_abr_examin_brouter) change to a single scan of the area list, rather than scanning all areas first for INTER_ROUTER and then again for INTER_NETWORK. According to 16.2, the scan should be area specific anyway, and further ospf6d does not seem to implement 16.3 anyway.
* Fix warnings here.hasso2004-10-111-3/+3
|
* 2003-08-13 Paul Jakma <paul@dishone.st>paul2003-08-131-0/+1
| | | | * vtysh/vtysh_user.c: include lib/version.h, for QUAGGA_PROGNAME.
* 2003-08-13 Paul Jakma <paul@dishone.st>paul2003-08-131-1/+1
| | | | | | | * lib/version.h: Add QUAGGA_PROGNAME * lib/smux.c: hardcoded zebra/quagga -> QUAGGA_PROGNAME * lib/command.c: ditto * vtysh/vtysh_user.c: ditto
* From: Sergiy Vyshnevetskiy <serg@vostok.net>paul2003-05-061-1/+6
| | | | | | Subject: [zebra 18947] [PATCH] openpam patch configure support for openpam (freebsd5.0)
* Initial revisionpaul2002-12-131-0/+191