summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30a857c)
raw | patch | inline | side by side (parent: 30a857c)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 1 Aug 2013 23:36:15 +0000 (16:36 -0700) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 1 Aug 2013 23:36:15 +0000 (16:36 -0700) |
This may be reintroduced if and when it's needed.
src/core/store.c | patch | blob | history | |
src/include/core/store.h | patch | blob | history |
diff --git a/src/core/store.c b/src/core/store.c
index 8e41186f18fbbf4bd2d8d0d48cd80ace520b398a..b96ff4e9054e46b76c45cc14be00d71e3966e62c 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
return status;
} /* sdb_store_service */
-const sdb_service_t *
-sdb_store_get_service(const sdb_host_t *host, const char *name)
-{
- sdb_service_t *svc;
-
- if ((! host) || (! name))
- return NULL;
-
- svc = SDB_SVC(sdb_llist_search_by_name(host->services, name));
- if (! svc)
- return NULL;
- return svc;
-} /* sdb_store_get_service */
-
int
sdb_store_dump(FILE *fh)
{
index 14cb7c03cb36511c16bad98b4c213d12bc877083..6c833ec6e2162673dc012e63f28947d4a201ecb7 100644 (file)
--- a/src/include/core/store.h
+++ b/src/include/core/store.h
int
sdb_store_service(const sdb_service_t *svc);
-const sdb_service_t *
-sdb_store_get_service(const sdb_host_t *host, const char *name);
-
int
sdb_store_dump(FILE *fh);