index 8590156c209e4fd0556d6af466f8585cc19b6716..8c1739ed5c20089280518de9944692f4dab1d827 100644 (file)
* canonical.
*/
int
-sdb_memstore_host(sdb_memstore_t *store, const char *name, sdb_time_t last_update);
+sdb_memstore_host(sdb_memstore_t *store, const char *name,
+ sdb_time_t last_update, sdb_time_t interval);
int
sdb_memstore_service(sdb_memstore_t *store, const char *hostname, const char *name,
- sdb_time_t last_update);
+ sdb_time_t last_update, sdb_time_t interval);
int
sdb_memstore_metric(sdb_memstore_t *store, const char *hostname, const char *name,
- sdb_metric_store_t *metric_store, sdb_time_t last_update);
+ sdb_metric_store_t *metric_store,
+ sdb_time_t last_update, sdb_time_t interval);
int
sdb_memstore_attribute(sdb_memstore_t *store, const char *hostname,
- const char *key, const sdb_data_t *value, sdb_time_t last_update);
+ const char *key, const sdb_data_t *value,
+ sdb_time_t last_update, sdb_time_t interval);
int
sdb_memstore_service_attr(sdb_memstore_t *store, const char *hostname,
const char *service, const char *key, const sdb_data_t *value,
- sdb_time_t last_update);
+ sdb_time_t last_update, sdb_time_t interval);
int
sdb_memstore_metric_attr(sdb_memstore_t *store, const char *hostname,
const char *metric, const char *key, const sdb_data_t *value,
- sdb_time_t last_update);
+ sdb_time_t last_update, sdb_time_t interval);
/*
* sdb_memstore_get_host:
/*
* sdb_memstore_get_child:
- * Retrieve a host's child object of the specified type and name. The
+ * Retrieve an object's child object of the specified type and name. The
* reference count of the child object will be incremented before returning
* it. The caller is responsible for releasing the object once it's no longer
* used.
* - NULL else
*/
sdb_memstore_obj_t *
-sdb_memstore_get_child(sdb_memstore_obj_t *host, int type, const char *name);
+sdb_memstore_get_child(sdb_memstore_obj_t *obj, int type, const char *name);
/*
* sdb_memstore_get_field: