2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

18 Commits

Author SHA1 Message Date
Bob Halley
738b9aa3de isc_task_create() API change 2000-04-12 01:41:21 +00:00
David Lawrence
7aa48442b0 Instead of setting a listener callback that is called by listener_destroy,
set the destroy_action callback used by omapi_object_dereference.
2000-03-18 00:34:13 +00:00
David Lawrence
0eebe5cfe3 only call shutdown callback if non-NULL 2000-03-14 20:06:08 +00:00
David Lawrence
6bdf7cb13e Use callback to avoid blocking in omapi_listener_shutdown. 2000-03-14 03:53:20 +00:00
Bob Halley
0fffa9dcca update copyright 2000-02-03 23:17:52 +00:00
Mark Andrews
f43d714ada #include <stdlib.h> as va_arg may call abort(): BSDI 3.1 2000-02-01 23:18:52 +00:00
David Lawrence
4b8831992e omapi_listener_listen port argument now sockaddr; removed listener->address 2000-02-01 15:13:49 +00:00
David Lawrence
a89a8e3754 New function, omapi_listener_shutdown, to destroy all memory used by the
listener.

Manage a list of all connections known by the listener, so they can be
shut down by omapi_listener_shutdown.
2000-01-31 14:46:29 +00:00
David Lawrence
22ad324c4a deref the external reference to the protocol object when a new connection
is started on the server so both the connection object and protocol object
are freed when the session ends.
2000-01-24 05:14:24 +00:00
David Lawrence
e0f30c15b6 checkpoint 2000-01-22 00:18:05 +00:00
David Lawrence
4c9113533d checkpoint 2000-01-17 20:06:37 +00:00
David Lawrence
eb421ff1a1 checkpoint 2000-01-17 18:02:11 +00:00
David Lawrence
45d019f745 checkpoint 2000-01-14 23:10:04 +00:00
David Lawrence
6cdff83aae checkpoint 2000-01-13 06:13:26 +00:00
David Lawrence
3eab41102f checkpoint 2000-01-06 03:36:32 +00:00
David Lawrence
686320ef6e checkpoint 2000-01-04 20:04:42 +00:00
David Lawrence
0ae0a1f038 checkpoint conversion to ISC (doc/dev/coding.html) style.
* no spaces around " -> " in indirect postfix expression.
  * no space between function name and open parenthesis.
  * no space between array name and open bracket.
  * use NULL not 0 for pointers.
  * explicitly compare pointers to NULL.
  * explicitly compare integers to 0.
  * Do not cast NULL.
  * return type of function declaration on line by itself.
  * open brace of function definition follows close parenthesis if parameters
    all fit on one line.
  * comment-only lines start with /* on line by itself, and end with */
    on line by itself.
  * variable names in structures separated from their types in a column.
  * name the parameters in function prototypes.
  * ifndef multiple header file inclusion.

and other BIND9 conventions not in coding.html:

  * private structures defined in relevant source module, not private header.
  * RCS /* $Id: $ */ comments.
  * Principal Author (Ted Lemon) comments.
  * Updated ISC copyrights.
  * Parenthesize value of return().
  * Parenthesize argument of sizeof().
  * "unsigned int foo" not "unsigned foo".
  * ISC_LANG_(BEGIN|END)DECLS in header files.
  * header files included directly by source/header file that needs them.
  * ... and others I am probably forgetting.

and conversion to some libisc.a modules:

  * use isc/int.h for isc_uintXX_t types, not u_intXX_t.
  * use isc/assertions.h for REQUIRE() and INSIST().
  * use isc/error.h for UNEXPECTED_ERROR.
  * use isc/boolean.h for isc_boolean_t flags instead of int flags.
  * use isc/net.h for networking types.
  * use isc/netdb.h for gethostby*.

STILL TO COME ...

  * more isc_boolean_t.
  * isc/time.h to replace struct timeval.
  * isc/socket.h to replace socket/listen/select/etc.
  * isc/mem.h to replace malloc/free.
  * namespace overhaul & omapi/compatibility.h.

Please collect all your belongings but stand clear of the doors until this
train has come to a complete stop.
1999-11-02 04:01:34 +00:00
David Lawrence
f3ff03fc48 initial copy from the DHCP source pool 1999-10-27 22:24:32 +00:00