Commit Graph
144 Commits
Author SHA1 Message Date
Brian Wellington 9154e66053 remove compiler warning 2001-02-17 00:53:59 +00:00
David Lawrence d5e7142f9d #include <stddef.h> to ensure definition of NULL 2001-02-16 04:14:16 +00:00
Brian Wellington c7c9f4a989 Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
DST_R_UNSUPPORTEDALG.
2001-02-16 00:54:28 +00:00
Brian Wellington cdee5991b8 Don't include <dst/result.h> 2001-02-16 00:21:09 +00:00
Brian Wellington 7bd7a2a798 cleaned up some code that Andreas thought was ugly. 2001-02-15 20:10:04 +00:00
Brian Wellington bb136669b6 Use the isc hmac-md5 routines instead of dst. 2001-02-15 19:44:46 +00:00
Brian Wellington d60c005a70 <dns/acl.h> is not needed, but <dns/name.h> is. 2001-02-15 19:13:48 +00:00
Brian Wellington f96ad6baf5 Only check to make sure that the full number of bytes were sent if the
send operation succeeded.  I'm still not convinced that send_done() works
correctly, but making other changes that look correct causes assertion failures.
2001-02-06 22:54:27 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson 16ef05fe1b incremented 2000-11-30 23:06:32 +00:00
Andreas Gustafsson aefca1d492 typo in comment 2000-11-29 00:10:29 +00:00
Mark Andrews cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Mark Andrews 479e643d54 use isc_mem_allocate for omapi_data_strdup to be consistant with
isc_mem_strdup
2000-10-11 21:19:01 +00:00
Andreas Gustafsson 922e6a3c2a 478. [bug] "make install" failed if the directory specified with
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
David Lawrence 566155f16e 465. [cleanup] Allow 0 to be set as an omapi_value_t value by
omapi_value_storeint().

(Arguably this is was a bug, arguably it wasn't.  I do not know Ted's
original intent, but I believe it cleans up the API to allow 0 to be
set and retrieved just as any other int is.)o

(Also arguably, the other omapi_value_store*() functions should instead
be creating non-NULL omapi_value_t->value pointers when they are setting
NULL values, and then assigning NULL into the relevant union member.)
2000-09-16 03:20:54 +00:00
Brian Wellington 5c29047792 minor dst api change 2000-09-12 09:59:28 +00:00
Brian Wellington c383551293 #include <isc/mutex.h> 2000-08-26 01:56:46 +00:00
Brian Wellington fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington bf426c2605 Passing a dereferenced pointer as the event->sender is just plain silly.
Now that NULL is an allowed value, use it.
2000-07-27 22:25:58 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence ce2be9b721 329. [func] omapi_auth_register() now takes a size_t argument for
the length of a key's secret data.  Previously
			OMAPI only stored secrets up to the first NUL byte.

This change was made to cope with decoded base64 secrets, so in this
revision omapiconf.c and rndc.c also decode the secret.
2000-07-11 22:03:12 +00:00
Andreas Gustafsson a4db2a47f5 incremented library version numbers to 1.0.0 2000-07-10 22:20:43 +00:00
David Lawrence 89e57b472d 317. [func] Use callbacks from libomapi to determine if a
new connection is valid, and if a key requested
			to be used with that connection is valid.
2000-07-10 11:23:00 +00:00
David Lawrence 4a44b85e6e Disable the requirement that all messages be signed, since this
will not work until the "controls" statement is implemented in
named.conf post-9.0.0.
2000-06-28 05:24:41 +00:00
David Lawrence 13c32cb589 285. [bug] A change made to the dst API for beta4 inadvertently
broke OMAPI's creation of a dst key from an incoming
			message, causing an assertion to be triggered.  Fixed.
2000-06-28 03:09:44 +00:00
David Lawrence c4c5c242cd when changing the name of a parameter, remember to change the uses of it. duh. 2000-06-23 22:28:22 +00:00
David Lawrence df0036cbcd backlog argument to omapi_listener_listen was changed to unsiged 2000-06-23 22:22:24 +00:00
David Lawrence 48cfd6b4fc omapi_protocol_connect's port argument type changed to in_port_t. 2000-06-23 21:36:57 +00:00
David Lawrence 8ab36dee9c connect_toserver's port argument type changed to in_port_t.
socket variable renamed sock to avoid reserved name conflict.
2000-06-23 21:36:17 +00:00
David Lawrence 4b60cab173 "delete" function pointer changed to "expunge" to avoid C++ reserved word
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:28:31 +00:00
David Lawrence 8db07dbeb9 "delete" function pointer changed to "expunge" to avoid C++ reserved word
conflict, and renamed object_methoddelete to object_methodexpunge for
consistency
2000-06-23 21:05:22 +00:00
David Lawrence 1c12b87999 "remove" structure member renamed to "delete" renamed to avoid reserved word
conflict, and renamed object_methodremove to object_methoddelete for
consistency
2000-06-23 20:30:28 +00:00
David Lawrence 17d91fddb3 279. [bug] Private omapi function symbols shared between
two or more files in libomapi.a were not namespace
                        protected using the ISC convention of starting with
                        the library name and two underscores ("omapi__"...)
2000-06-23 20:19:02 +00:00
David Lawrence 107a15b0d8 index renamed to idx to avoid reserved word conflict 2000-06-23 20:05:00 +00:00
David Lawrence b2728187cc length should be unsigned in omapi_data_dereference 2000-06-23 20:04:25 +00:00
David Lawrence 571e433d03 argument to omapi_object_setinter should be int 2000-06-23 20:03:56 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence 49dbdb0186 update_copyrights 2000-06-21 22:05:07 +00:00
Brian Wellington 4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
David Lawrence 44bd41cce3 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
2000-06-01 17:33:39 +00:00
Brian Wellington a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence 6b554f7f0d #include <stdlib.h> /* Required on BSD/OS 3.1 for abort() used in va_arg(). */ 2000-05-24 18:43:29 +00:00
David Lawrence ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
Brian Wellington c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
Brian Wellington 81ab85fd39 dst function name cleanup 2000-05-17 22:48:10 +00:00
David Lawrence 969dca4c16 line 272: remark(1552): variable "inner" was set but never used.
Now used in place of more complex expression.
2000-05-14 03:51:39 +00:00
David Lawrence c06afcfe58 line 126: remark(1692): prototyped function redeclared without prototype.
Prototype added.
2000-05-14 03:51:07 +00:00
David Lawrence e718ce9939 line 647: remark(1552): variable "connection" was set but never used.
Removed variable.
2000-05-14 03:50:45 +00:00
David Lawrence 6028d1ce03 Needs string.h for function prototypes. For some reason gcc and other
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +00:00