diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-12-19 12:16:45 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2011-12-23 16:18:25 +1100 |
commit | 56bf8e250a2886fce1157b92c876c623eea01fba (patch) | |
tree | 6ff3645ee61eb0d1790a1fde8a5652339fa3ff56 /source4 | |
parent | 95868605e2caf4c8a66b10be7911762d587a2388 (diff) | |
download | samba-56bf8e250a2886fce1157b92c876c623eea01fba.tar.gz samba-56bf8e250a2886fce1157b92c876c623eea01fba.tar.bz2 samba-56bf8e250a2886fce1157b92c876c623eea01fba.zip |
s4:rpc-dnsserver: Add comments
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/dnsserver/dnsdb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdb.c b/source4/rpc_server/dnsserver/dnsdb.c index 8421dcded0..2f55404a4e 100644 --- a/source4/rpc_server/dnsserver/dnsdb.c +++ b/source4/rpc_server/dnsserver/dnsdb.c @@ -243,6 +243,7 @@ failed: } +/* Increment serial number and update timestamp */ static unsigned int dnsserver_update_soa(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, struct dnsserver_zone *z) @@ -350,6 +351,7 @@ static WERROR dnsserver_db_do_add_rec(TALLOC_CTX *mem_ctx, } +/* Add dnsNode record to the database with DNS record */ WERROR dnsserver_db_add_empty_node(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, struct dnsserver_zone *z, @@ -382,6 +384,7 @@ WERROR dnsserver_db_add_empty_node(TALLOC_CTX *mem_ctx, } +/* Add a DNS record */ WERROR dnsserver_db_add_record(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, struct dnsserver_zone *z, @@ -472,6 +475,8 @@ WERROR dnsserver_db_add_record(TALLOC_CTX *mem_ctx, return WERR_OK; } + +/* Update a DNS record */ WERROR dnsserver_db_update_record(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, struct dnsserver_zone *z, @@ -570,6 +575,8 @@ WERROR dnsserver_db_update_record(TALLOC_CTX *mem_ctx, return WERR_OK; } + +/* Delete a DNS record */ WERROR dnsserver_db_delete_record(TALLOC_CTX *mem_ctx, struct ldb_context *samdb, struct dnsserver_zone *z, |