Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Separate rdatalist cloning to it's own function. | Martin Nagy | 2009-03-14 | 4 | -31/+141 | |
| | ||||||
* | Add SAFE_MEM_PUT_AND_DETACH() macro. | Martin Nagy | 2009-03-14 | 1 | -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 Nagy | 2009-03-14 | 1 | -15/+0 | |
| | ||||||
* | Implement getoriginnode function. | atkac | 2009-03-14 | 1 | -3/+2 | |
| | ||||||
* | Associate returned rdataset correctly in findrdataset. | atkac | 2009-03-14 | 1 | -2/+5 | |
| | ||||||
* | Return DNS_R_NXDOMAIN from findnode when no record is found. | atkac | 2009-03-14 | 1 | -5/+1 | |
| | ||||||
* | Compare number of dn-s instead of pointers in dn_to_dnsname. | Adam Tkac | 2009-03-02 | 1 | -1/+1 | |
| | ||||||
* | Check return value from dns_name_fromtext. Free zone name only if it was ↵ | Adam Tkac | 2009-03-02 | 2 | -2/+4 | |
| | | | | allocated. | |||||
* | Set update ACLs for zones to "any" by default. | Adam Tkac | 2009-03-02 | 1 | -0/+7 | |
| | ||||||
* | Use isc_log_vwrite instead of isc_log_write. | Adam Tkac | 2009-03-02 | 1 | -13/+8 | |
| | ||||||
* | Fix memory leaks resulted from creating rdatasets. | Martin Nagy | 2009-02-18 | 3 | -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 Nagy | 2009-02-18 | 3 | -286/+455 | |
| | ||||||
* | Add conversion function, from LDAP to DNS. | Martin Nagy | 2009-02-18 | 2 | -1/+55 | |
| | | | | | The ldap_record_to_rdatatype() function will convert an LDAP attribute name to dns_rdatatype_t. | |||||
* | Allocate rdataset separately from rdlist. | Martin Nagy | 2009-02-18 | 1 | -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 Tkac | 2009-02-18 | 1 | -20/+19 | |
| | ||||||
* | Add str_clear(). | Martin Nagy | 2009-02-18 | 3 | -1/+11 | |
| | | | | Same effect as str_init_char(str, ""). | |||||
* | Add dnsname_to_dn(). | Martin Nagy | 2009-02-18 | 2 | -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 Nagy | 2009-02-18 | 1 | -0/+10 | |
| | ||||||
* | Add split support. | Martin Nagy | 2009-02-18 | 2 | -3/+143 | |
| | | | | Also fix a small isc_mem_put() issue in str_alloc(). | |||||
* | Add another LDAP helper functions. | Martin Nagy | 2009-02-13 | 1 | -0/+242 | |
| | ||||||
* | Implemented findrdataset function. | Adam Tkac | 2009-02-12 | 1 | -6/+18 | |
| | ||||||
* | Add zone manager. | Martin Nagy | 2009-02-12 | 6 | -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 Nagy | 2009-02-12 | 3 | -1/+213 | |
| | ||||||
* | Add memory allocation convenience helpers. | Martin Nagy | 2009-02-12 | 1 | -0/+21 | |
| | ||||||
* | Add function logging helpers. | Martin Nagy | 2009-02-12 | 1 | -1/+13 | |
| | ||||||
* | Make log_debug temporarily behave as log_error. | Martin Nagy | 2009-02-12 | 1 | -15/+24 | |
| | ||||||
* | Implemented attachnode/detachnode functions and added stub find routines. | Adam Tkac | 2009-02-11 | 1 | -36/+147 | |
| | ||||||
* | Add helper functions for LDAP attributes. | Martin Nagy | 2009-01-19 | 2 | -30/+118 | |
| | ||||||
* | Added ldapdb_rdatalist_* functions. | Adam Tkac | 2009-01-19 | 2 | -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 Nagy | 2009-01-14 | 4 | -5/+469 | |
| | ||||||
* | Remove all mctx arguments from settings. | Martin Nagy | 2009-01-14 | 2 | -10/+9 | |
| | ||||||
* | Leave allocations of ld_strings to the caller. | Martin Nagy | 2009-01-14 | 1 | -8/+1 | |
| | ||||||
* | Few small changes for semaphore.c and util.h. | Martin Nagy | 2009-01-14 | 2 | -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 bug | Martin Nagy | 2009-01-14 | 2 | -7/+61 | |
| | | | | Bug in str__destroy() caused us to try to free a NULL pointer. | |||||
* | Fix settings default value handling. | Martin Nagy | 2009-01-14 | 2 | -12/+17 | |
| | ||||||
* | Don't use obscure pointer arithmetics in settings. | Martin Nagy | 2009-01-12 | 2 | -34/+25 | |
| | ||||||
* | Fix copyright headers. | Martin Nagy | 2009-01-12 | 5 | -2/+59 | |
| | ||||||
* | Add a generic settings helper. | Martin Nagy | 2009-01-09 | 3 | -1/+227 | |
| | ||||||
* | Add util.h. | Martin Nagy | 2009-01-09 | 3 | -10/+12 | |
| | ||||||
* | Ignore vim swap files (*.swp) | Martin Nagy | 2009-01-09 | 1 | -0/+1 | |
| | ||||||
* | Fix up Makefile. | Martin Nagy | 2009-01-09 | 1 | -14/+5 | |
| | ||||||
* | - added ldapdb_create function which creates per-zone dns_db_t - document ↵ | Adam Tkac | 2008-12-18 | 1 | -10/+103 | |
| | | | | what should ldap zone manager do | |||||
* | Cosmetic changes and macro fatal_error added. | Martin Nagy | 2008-12-17 | 3 | -64/+64 | |
| | ||||||
* | Added stub dns_db_t implementation. | Adam Tkac | 2008-12-16 | 1 | -5/+518 | |
| | ||||||
* | Add a string library. | Martin Nagy | 2008-12-15 | 3 | -1/+365 | |
| | ||||||
* | Add a dynamic_driver_destroy() function. | Martin Nagy | 2008-12-15 | 1 | -0/+6 | |
| | | | | This function is mandatory and will be called by BIND on exit. | |||||
* | Use common prefix _LD in header files. | Martin Nagy | 2008-12-11 | 1 | -3/+3 | |
| | ||||||
* | Add .gitignore | Martin Nagy | 2008-12-10 | 1 | -0/+3 | |
| | ||||||
* | Initial import. | Martin Nagy | 2008-12-10 | 6 | -0/+363 | |
The driver for now only prints the argument list and then fails. |