Commit Graph

7 Commits

Author SHA1 Message Date
ajs
5a64665039 2004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
	  capabilities (that were used only in bgpd/bgp_route.c and are now
	  removed).  Also remove some other fields that were not being
	  used at all.
	* vty.c: (vty_execute) Do not test for obsolete status values VTY_START
	  and VTY_CONTINUE.
	  (vty_read) Remove calls to vty->output_func since that was part
	  of the VTY_CONTINUE infrastructure that has been removed.
	  (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
	  (vty_close) Remove code to cancel vty->t_output thread, since that
	  thread was never actually used.
	* bgp_route.c: Remove all code related to VTY_CONTINUE; this feature
	  is deprecated because the output did not represent a single point
	  in time.  All output needs to be generated inline and buffered
	  by the library code.
	  (route_vty_out,route_vty_out_tag,damp_route_vty_out,
	   flap_route_vty_out) Remove code to count number of lines of output,
	   since this was only useful for VTY_CONTINUE behavior.
	  (bgp_show_callback) Removed.
	  (bgp_show_table) Remove hooks for VTY_CONTINUE callback support.
	  As a result, there's a new output_arg argument to this function.
	  Make function static.
	  (bgp_show) Make function static and add a new output_arg argument.
	  Change all functions that call bgp_show or bgp_show_table to
	  pass the new output_arg argument (that used to be passed inside
	  vty->output_arg).
	* bgp_mplsvpn.c: Remove declarations of functions defined in
	  bgp_route.c; these declarations belong in bgp_route.h.
	* bgp_route.h: Declare 3 global functions used in both bgp_route.c
	  and in bgp_mplsvpn.c.
2004-11-05 01:25:55 +00:00
paul
42d498658d 2004-10-13 Paul Jakma <paul@dishone.st>
* (global) more const'ification.
	* sockunion.c: (sockunion_su2str) buffer should be sized
          SU_ADDRSTRLEN.
          (sockunion_log) do not return stack variables, strdup buf before
          return.
        * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
          values against ULONG_MAX is daft, when caller probably has passed
          a type that can not hold ULONG_MAX. use a temporary long instead.
          Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
	  VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
2004-10-13 05:22:18 +00:00
hasso
6ad96ea16e Make more strings const. 2004-10-07 19:33:46 +00:00
hasso
320ec10a24 Removing code which looked at current dir for config file before attempting
to read system one.
2004-06-20 19:54:37 +00:00
paul
e8f2984c00 2003-08-12 Paul Jakma <paul@dishone.st>
2003-08-12 Paul Jakma <paul@dishone.st>

        * Makefile.am: redhat/zebra.* -> redhat/quagga.*
        * configure.ac: Bump autoconf prerequisite to 2.53.
          dist name zebra -> quagga.
          general Zebra -> Quagga where appropriate (ie not zebra daemon).
          User and group zebra->quagga.
          s/ZEBRA\(_VERSION\)/QUAGGA\1/.
        * bgpd/bgp_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
        * lib/command.c: Update banners and s/ZEBRA\(_VERSION\)/QUAGGA\1/
        * lib/print_version.c: ditto
        * lib/version.h: s/ZEBRA\(_VERSION\)/QUAGGA\1/ and bump version.
          Change ZEBRA_URL.
        * lib/smux.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
        * lib/vty.h: Change Zebra.conf to Quagga.conf (integrated file)
        * ospf6d/ospf6{,_main}.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
        * ospfd/ospf_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
2003-08-12 13:08:31 +00:00
paul
b21b19c578 2003-06-15 Paul Jakma <paul@dishone.st>
* lib/vty.{c,h}: Remove vty layer depending on a 'master' global,
	  pass the thread master in explicitly to vty_init. Sort out some
	  header dependency problems with lib/command.h
	* zebra/: Move globals to struct zebrad. Update vty_init().
	* (.*)/\1_main.c: update call to vty_init().
2003-06-15 01:28:29 +00:00
paul
718e374419 Initial revision 2002-12-13 20:15:29 +00:00