Home
last modified time | relevance | path

Searched refs:db_value_t (Results 1 – 25 of 39) sorted by relevance

12

/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/db/
H A Ddb_value.h35 typedef struct db_value db_value_t; typedef
66 extern db_value_t* db_value_new(void);
72 extern void db_value_free(db_value_t* value);
78 extern void db_value_reset(db_value_t* value);
86 extern int db_value_copy(db_value_t* value, const db_value_t* from_value);
97 extern int db_value_cmp(const db_value_t* value_a, const db_value_t* value_b, int* result);
104 extern db_type_t db_value_type(const db_value_t* value);
147 extern const char* db_value_text(const db_value_t* value);
162 extern int db_value_not_empty(const db_value_t* value);
276 extern int db_value_set_primary_key(db_value_t* value);
[all …]
H A Ddb_value.c41 db_value_t* value = in db_value_new()
42 (db_value_t*)calloc(1, sizeof(db_value_t)); in db_value_new()
77 int db_value_copy(db_value_t* value, const db_value_t* from_value) { in db_value_copy()
633 value_set->values = (db_value_t*)calloc(4, sizeof(db_value_t)); in db_value_set_new()
636 value_set->values = (db_value_t*)calloc(8, sizeof(db_value_t)); in db_value_set_new()
639 value_set->values = (db_value_t*)calloc(12, sizeof(db_value_t)); in db_value_set_new()
642 value_set->values = (db_value_t*)calloc(16, sizeof(db_value_t)); in db_value_set_new()
645 value_set->values = (db_value_t*)calloc(24, sizeof(db_value_t)); in db_value_set_new()
648 value_set->values = (db_value_t*)calloc(32, sizeof(db_value_t)); in db_value_set_new()
651 value_set->values = (db_value_t*)calloc(64, sizeof(db_value_t)); in db_value_set_new()
[all …]
H A Dkey_dependency.h58 db_value_t id;
59 db_value_t rev;
60 db_value_t zone_id;
63 db_value_t from_key_data_id;
66 db_value_t to_key_data_id;
113 extern const db_value_t* key_dependency_zone_id(const key_dependency_t* key_dependency);
120 extern const db_value_t* key_dependency_from_key_data_id(const key_dependency_t* key_dependency);
135 extern const db_value_t* key_dependency_to_key_data_id(const key_dependency_t* key_dependency);
150 extern int key_dependency_set_zone_id(key_dependency_t* key_dependency, const db_value_t* zone_id);
166 extern int key_dependency_set_to_key_data_id(key_dependency_t* key_dependency, const db_value_t* to…
[all …]
H A Dkey_data.h70 db_value_t id;
71 db_value_t rev;
72 db_value_t zone_id;
75 db_value_t hsm_key_id;
145 extern const db_value_t* key_data_id(const key_data_t* key_data);
152 extern const db_value_t* key_data_zone_id(const key_data_t* key_data);
167 extern const db_value_t* key_data_hsm_key_id(const key_data_t* key_data);
290 extern int key_data_set_zone_id(key_data_t* key_data, const db_value_t* zone_id);
298 extern int key_data_set_hsm_key_id(key_data_t* key_data, const db_value_t* hsm_key_id);
448 extern int key_data_get_by_id(key_data_t* key_data, const db_value_t* id);
[all …]
H A Dpolicy_key.h56 db_value_t id;
57 db_value_t rev;
58 db_value_t policy_id;
130 extern const db_value_t* policy_key_policy_id(const policy_key_t* policy_key);
223 extern int policy_key_set_policy_id(policy_key_t* policy_key, const db_value_t* policy_id);
310 extern int policy_key_get_by_id(policy_key_t* policy_key, const db_value_t* id);
386 extern int policy_key_list_get_by_policy_id(policy_key_list_t* policy_key_list, const db_value_t* p…
394 …licy_key_list_new_get_by_policy_id(const db_connection_t* connection, const db_value_t* policy_id);
433 …new_get_by_policyid_and_role (const db_connection_t* connection, const db_value_t* policyid, const…
435 extern int policy_key_get_by_policyid_and_role(policy_key_t* policy_key, const db_value_t* policyid…
H A Dkey_state.h67 db_value_t id;
68 db_value_t rev;
69 db_value_t key_data_id;
120 extern const db_value_t* key_state_key_data_id(const key_state_t* key_state);
177 extern int key_state_set_key_data_id(key_state_t* key_state, const db_value_t* key_data_id);
228 extern db_clause_t* key_state_key_data_id_clause(db_clause_list_t* clause_list, const db_value_t* k…
243 extern int key_state_get_by_id(key_state_t* key_state, const db_value_t* id);
327 extern int key_state_list_get_by_key_data_id(key_state_list_t* key_state_list, const db_value_t* ke…
335 …tate_list_new_get_by_key_data_id(const db_connection_t* connection, const db_value_t* key_data_id);
H A Dhsm_key.h81 db_value_t id;
82 db_value_t rev;
83 db_value_t policy_id;
139 extern const db_value_t* hsm_key_id(const hsm_key_t* hsm_key);
146 extern const db_value_t* hsm_key_policy_id(const hsm_key_t* hsm_key);
210 extern int hsm_key_set_policy_id(hsm_key_t* hsm_key, const db_value_t* policy_id);
293 extern db_clause_t* hsm_key_policy_id_clause(db_clause_list_t* clause_list, const db_value_t* polic…
396 extern int hsm_key_get_by_id(hsm_key_t* hsm_key, const db_value_t* id);
512 extern int hsm_key_list_get_by_policy_id(hsm_key_list_t* hsm_key_list, const db_value_t* policy_id);
520 … hsm_key_list_new_get_by_policy_id(const db_connection_t* connection, const db_value_t* policy_id);
H A Dzone_db.h48 db_value_t id;
49 db_value_t rev;
50 db_value_t policy_id;
115 extern const db_value_t* zone_db_id(const zone_db_t* zone);
122 extern const db_value_t* zone_db_policy_id(const zone_db_t* zone);
257 extern int zone_db_set_policy_id(zone_db_t* zone, const db_value_t* policy_id);
404 extern db_clause_t* zone_db_policy_id_clause(db_clause_list_t* clause_list, const db_value_t* polic…
419 extern int zone_db_get_by_id(zone_db_t* zone, const db_value_t* id);
544 extern int zone_list_db_get_by_policy_id(zone_list_db_t* zone_list_db, const db_value_t* policy_id);
552 … zone_list_db_new_get_by_policy_id(const db_connection_t* connection, const db_value_t* policy_id);
H A Ddb_clause.h123 db_value_t value;
159 extern const db_value_t* db_clause_value(const db_clause_t* clause);
221 extern db_value_t* db_clause_get_value(db_clause_t* clause);
H A Ddatabase_version.h47 db_value_t id;
48 db_value_t rev;
H A Dpolicy.h62 db_value_t id;
63 db_value_t rev;
146 extern const db_value_t* policy_id(const policy_t* policy);
698 extern int policy_get_by_id(policy_t* policy, const db_value_t* id);
H A Ddb_clause.c85 const db_value_t* db_clause_value(const db_clause_t* clause) { in db_clause_value()
187 db_value_t* db_clause_get_value(db_clause_t* clause) { in db_clause_get_value()
H A Dkey_dependency.c328 const db_value_t* key_dependency_zone_id(const key_dependency_t* key_dependency) { in key_dependency_zone_id()
336 const db_value_t* key_dependency_from_key_data_id(const key_dependency_t* key_dependency) { in key_dependency_from_key_data_id()
382 const db_value_t* key_dependency_to_key_data_id(const key_dependency_t* key_dependency) { in key_dependency_to_key_data_id()
398 int key_dependency_set_zone_id(key_dependency_t* key_dependency, const db_value_t* zone_id) { in key_dependency_set_zone_id()
417 int key_dependency_set_from_key_data_id(key_dependency_t* key_dependency, const db_value_t* from_ke… in key_dependency_set_from_key_data_id()
436 int key_dependency_set_to_key_data_id(key_dependency_t* key_dependency, const db_value_t* to_key_da… in key_dependency_set_to_key_data_id()
563 int key_dependency_get_by_id(key_dependency_t* key_dependency, const db_value_t* id) { in key_dependency_get_by_id()
1097 int key_dependency_list_get_by_zone_id(key_dependency_list_t* key_dependency_list, const db_value_t in key_dependency_list_get_by_zone_id()
1160 …_dependency_list_new_get_by_zone_id(const db_connection_t* connection, const db_value_t* zone_id) { in key_dependency_list_new_get_by_zone_id()
H A Dzone_db_ext.h44 const db_value_t* id);
H A Dkey_data.c553 const db_value_t* key_data_id(const key_data_t* key_data) { in key_data_id()
561 const db_value_t* key_data_zone_id(const key_data_t* key_data) { in key_data_zone_id()
607 const db_value_t* key_data_hsm_key_id(const key_data_t* key_data) { in key_data_hsm_key_id()
832 int key_data_set_zone_id(key_data_t* key_data, const db_value_t* zone_id) { in key_data_set_zone_id()
851 int key_data_set_hsm_key_id(key_data_t* key_data, const db_value_t* hsm_key_id) { in key_data_set_hsm_key_id()
976 db_clause_t* key_data_zone_id_clause(db_clause_list_t* clause_list, const db_value_t* zone_id) { in key_data_zone_id_clause()
1003 db_clause_t* key_data_hsm_key_id_clause(db_clause_list_t* clause_list, const db_value_t* hsm_key_id… in key_data_hsm_key_id_clause()
1296 int key_data_get_by_id(key_data_t* key_data, const db_value_t* id) { in key_data_get_by_id()
2181 int key_data_list_get_by_zone_id(key_data_list_t* key_data_list, const db_value_t* zone_id) { in key_data_list_get_by_zone_id()
2479 int key_data_get_by_hsm_key_id(key_data_t * key_data, const db_value_t* hsm_key_id) { in key_data_get_by_hsm_key_id()
[all …]
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/db/test/
H A Dtest_key_dependency.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_dependency_set()
263 db_value_t to_key_data_id = DB_VALUE_EMPTY; in test_key_dependency_set()
296 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_dependency_get()
298 db_value_t to_key_data_id = DB_VALUE_EMPTY; in test_key_dependency_get()
361 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_dependency_verify()
363 db_value_t to_key_data_id = DB_VALUE_EMPTY; in test_key_dependency_verify()
394 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_dependency_change()
396 db_value_t to_key_data_id = DB_VALUE_EMPTY; in test_key_dependency_change()
425 db_value_t id = DB_VALUE_EMPTY; in test_key_dependency_read()
[all …]
H A Dtest_key_state.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t key_data_id = DB_VALUE_EMPTY; in test_key_state_set()
286 db_value_t key_data_id = DB_VALUE_EMPTY; in test_key_state_get()
322 db_value_t key_data_id = DB_VALUE_EMPTY; in test_key_state_verify()
344 db_value_t key_data_id = DB_VALUE_EMPTY; in test_key_state_change()
365 db_value_t id = DB_VALUE_EMPTY; in test_key_state_read()
376 db_value_t id = DB_VALUE_EMPTY; in test_key_state_read2()
388 db_value_t key_data_id = DB_VALUE_EMPTY; in test_key_state_verify2()
H A Dtest_policy_key.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_set()
285 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_get()
380 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_verify()
405 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_change()
426 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_read2()
438 db_value_t policy_id = DB_VALUE_EMPTY; in test_policy_key_verify2()
H A Dtest_key_data.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_data_set()
262 db_value_t hsm_key_id = DB_VALUE_EMPTY; in test_key_data_set()
300 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_data_get()
301 db_value_t hsm_key_id = DB_VALUE_EMPTY; in test_key_data_get()
633 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_data_verify()
634 db_value_t hsm_key_id = DB_VALUE_EMPTY; in test_key_data_verify()
668 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_data_change()
669 db_value_t hsm_key_id = DB_VALUE_EMPTY; in test_key_data_change()
708 db_value_t zone_id = DB_VALUE_EMPTY; in test_key_data_verify2()
[all …]
H A Dtest_database_operations.c41 db_value_t* id;
56 static db_value_t object2_id, object3_id;
113 const db_value_t* test_id(const test_t* test) { in test_id()
198 int test_get_by_id(test_t* test, const db_value_t* id) { in test_get_by_id()
242 db_value_t* value; in test_create()
277 db_value_t* value; in test_update()
467 db_value_t* id;
468 db_value_t* rev;
539 const db_value_t* test2_id(const test2_t* test2) { in test2_id()
670 db_value_t* value; in test2_create()
[all …]
H A Dtest_hsm_key.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_set()
291 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_get()
509 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_verify()
537 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_verify_locator()
560 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_change()
586 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_verify2()
620 db_value_t policy_id = DB_VALUE_EMPTY; in test_hsm_key_verify_locator2()
H A Dtest_zone.c44 static db_value_t id = DB_VALUE_EMPTY;
261 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_set()
291 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_get()
612 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_verify()
653 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_verify_name()
689 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_change()
727 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_verify2()
768 db_value_t policy_id = DB_VALUE_EMPTY; in test_zone_verify_name2()
/dports/benchmarks/sysbench/sysbench-1.0.20/src/
H A Ddb_driver.h183 } db_value_t; typedef
190 db_value_t *values; /* Array of column values */
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/keystate/
H A Dkeystate_import_cmd.c135 int alg, int keystate, int keytype, unsigned int time, int setmin, db_value_t *hsmkey_id) in perform_keydata_import()
214 int keystate, int keytype, unsigned int time, db_value_t *hsmkeyid) in perform_keystate_import()
221 const db_value_t* keydataid; in perform_keystate_import()
399 db_value_t *hsmkey_id; in run()
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/hsmkey/
H A Dhsm_key_factory.h104 extern int hsm_key_factory_release_key_id(const db_value_t* hsm_key_id,

12