summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Separate rdatalist cloning to it's own function.Martin Nagy2009-03-144-31/+141
|
* Add SAFE_MEM_PUT_AND_DETACH() macro.Martin Nagy2009-03-141-0/+4
| | | | | | The macro takes one argument, which is a pointer to a struct that contains isc_mem_t pointer member called 'mctx'. The macro will free up the argument and detach it from the memory context.
* Get rid of useless debugging output.Martin Nagy2009-03-141-15/+0
|
* Implement getoriginnode function.atkac2009-03-141-3/+2
|
* Associate returned rdataset correctly in findrdataset.atkac2009-03-141-2/+5
|
* Return DNS_R_NXDOMAIN from findnode when no record is found.atkac2009-03-141-5/+1
|
* Compare number of dn-s instead of pointers in dn_to_dnsname.Adam Tkac2009-03-021-1/+1
|
* Check return value from dns_name_fromtext. Free zone name only if it was ↵Adam Tkac2009-03-022-2/+4
| | | | allocated.
* Set update ACLs for zones to "any" by default.Adam Tkac2009-03-021-0/+7
|
* Use isc_log_vwrite instead of isc_log_write.Adam Tkac2009-03-021-13/+8
|
* Fix memory leaks resulted from creating rdatasets.Martin Nagy2009-02-183-18/+75
| | | | | We use kind of a hack really. We overwrite each created rdataset's methods by our own that will free the resources.
* Enable reading from LDAP.Martin Nagy2009-02-183-286/+455
|
* Add conversion function, from LDAP to DNS.Martin Nagy2009-02-182-1/+55
| | | | | The ldap_record_to_rdatatype() function will convert an LDAP attribute name to dns_rdatatype_t.
* Allocate rdataset separately from rdlist.Martin Nagy2009-02-181-6/+67
| | | | | | | We need to do this in order to be able to free ldapnode and keep rdataset preserved. As a TODO, we need to overwrite rdataset methods, specifically the disassociate method that will free the rdlist inside. For now, every memory allocated for the rdataset will be leaked.
* Fixed find function, hopefully.Adam Tkac2009-02-181-20/+19
|
* Add str_clear().Martin Nagy2009-02-183-1/+11
| | | | Same effect as str_init_char(str, "").
* Add dnsname_to_dn().Martin Nagy2009-02-182-0/+55
| | | | | This function will take dns_name_t as a parameter and in turn return a suitable DN.
* Add a convenience macro for isc_mem_put().Martin Nagy2009-02-181-0/+10
|
* Add split support.Martin Nagy2009-02-182-3/+143
| | | | Also fix a small isc_mem_put() issue in str_alloc().
* Add another LDAP helper functions.Martin Nagy2009-02-131-0/+242
|
* Implemented findrdataset function.Adam Tkac2009-02-121-6/+18
|
* Add zone manager.Martin Nagy2009-02-126-84/+449
| | | | | | Zone manager will take care of periodical checks for new zones and will add them when they appear. For now, zones are only added at start time, no periodical checks yet.
* Add helper functions for LDAP related conversions.Martin Nagy2009-02-123-1/+213
|
* Add memory allocation convenience helpers.Martin Nagy2009-02-121-0/+21
|
* Add function logging helpers.Martin Nagy2009-02-121-1/+13
|
* Make log_debug temporarily behave as log_error.Martin Nagy2009-02-121-15/+24
|
* Implemented attachnode/detachnode functions and added stub find routines.Adam Tkac2009-02-111-36/+147
|
* Add helper functions for LDAP attributes.Martin Nagy2009-01-192-30/+118
|
* Added ldapdb_rdatalist_* functions.Adam Tkac2009-01-192-0/+272
| | | | | | | | First function (ldapdb_rdatalist_get) is the core of search functions. It returns all RRs with specified name. Second function (ldapdb_rdatalist_destroy) is "helper" function and is used to destroy returned ldapdb_rdatalist_t. Third function is the ldapdb_rdatalist_findrdatatype function which returns rdatalist with specified rdtype.
* Add LDAP helper routines.Martin Nagy2009-01-144-5/+469
|
* Remove all mctx arguments from settings.Martin Nagy2009-01-142-10/+9
|
* Leave allocations of ld_strings to the caller.Martin Nagy2009-01-141-8/+1
|
* Few small changes for semaphore.c and util.h.Martin Nagy2009-01-142-3/+6
| | | | | Add a ZERO_PTR() macro in util.h. semaphore_destroy() will now ignore NULL pointers.
* Add two sprintf like functions to str.c, fix a bugMartin Nagy2009-01-142-7/+61
| | | | Bug in str__destroy() caused us to try to free a NULL pointer.
* Fix settings default value handling.Martin Nagy2009-01-142-12/+17
|
* Don't use obscure pointer arithmetics in settings.Martin Nagy2009-01-122-34/+25
|
* Fix copyright headers.Martin Nagy2009-01-125-2/+59
|
* Add a generic settings helper.Martin Nagy2009-01-093-1/+227
|
* Add util.h.Martin Nagy2009-01-093-10/+12
|
* Ignore vim swap files (*.swp)Martin Nagy2009-01-091-0/+1
|
* Fix up Makefile.Martin Nagy2009-01-091-14/+5
|
* - added ldapdb_create function which creates per-zone dns_db_t - document ↵Adam Tkac2008-12-181-10/+103
| | | | what should ldap zone manager do
* Cosmetic changes and macro fatal_error added.Martin Nagy2008-12-173-64/+64
|
* Added stub dns_db_t implementation.Adam Tkac2008-12-161-5/+518
|
* Add a string library.Martin Nagy2008-12-153-1/+365
|
* Add a dynamic_driver_destroy() function.Martin Nagy2008-12-151-0/+6
| | | | This function is mandatory and will be called by BIND on exit.
* Use common prefix _LD in header files.Martin Nagy2008-12-111-3/+3
|
* Add .gitignoreMartin Nagy2008-12-101-0/+3
|
* Initial import.Martin Nagy2008-12-106-0/+363
The driver for now only prints the argument list and then fails.