Searched refs:authdb_connection_t (Results 1 - 9 of 9) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/authd/
H A Dauthdb.h33 authdb_connection_t authdb_connection_acquire(authdb_t);
36 void authdb_connection_release(authdb_connection_t*);
39 bool authdb_maintenance(authdb_connection_t);
42 int32_t authdb_exec(authdb_connection_t, const char *);
45 bool authdb_transaction(authdb_connection_t, AuthDBTransactionType, bool (^t)(void));
48 bool authdb_step(authdb_connection_t, const char * sql, void (^bind_stmt)(sqlite3_stmt* stmt), authdb_iterator_t iter);
51 int32_t authdb_get_key_value(authdb_connection_t, const char * table, auth_items_t * out_items);
54 int32_t authdb_set_key_value(authdb_connection_t, const char * table, auth_items_t items);
57 void authdb_checkpoint(authdb_connection_t);
60 bool authdb_import_plist(authdb_connection_t,CFDictionaryRe
[all...]
H A Dmechanism.h20 mechanism_t mechanism_create_with_string(const char *,authdb_connection_t);
23 bool mechanism_sql_fetch(mechanism_t,authdb_connection_t);
26 bool mechanism_sql_commit(mechanism_t,authdb_connection_t);
H A Drule.h47 rule_t rule_create_with_string(const char *,authdb_connection_t);
50 rule_t rule_create_with_plist(RuleType,CFStringRef,CFDictionaryRef,authdb_connection_t);
68 bool rule_sql_fetch(rule_t,authdb_connection_t);
71 bool rule_sql_commit(rule_t,authdb_connection_t,CFAbsoluteTime,process_t);
74 bool rule_sql_remove(rule_t,authdb_connection_t);
77 CFMutableDictionaryRef rule_copy_to_cfobject(rule_t,authdb_connection_t);
H A Dauthdb.c136 static int32_t _db_run_script(authdb_connection_t dbconn, int number)
153 static int32_t _db_upgrade_from_version(authdb_connection_t dbconn, int32_t version)
183 static void _db_load_data(authdb_connection_t dbconn, auth_items_t config)
230 static bool _truncate_db(authdb_connection_t dbconn)
246 static void _handle_corrupt_db(authdb_connection_t dbconn)
270 static int32_t _db_maintenance(authdb_connection_t dbconn)
312 //static int32_t _wait_for_unlock_notify(authdb_connection_t dbconn, sqlite3_stmt * stmt)
338 static void _checkResult(authdb_connection_t dbconn, int32_t rc, const char * fn_name, sqlite3_stmt * stmt)
424 authdb_connection_t authdb_connection_acquire(authdb_t db)
426 __block authdb_connection_t dbcon
[all...]
H A Dauthtypes.h36 typedef struct _authdb_connection_s * authdb_connection_t; typedef in typeref:struct:_authdb_connection_s
H A Drule.c15 static void _sql_get_id(rule_t,authdb_connection_t);
17 static bool _copy_cf_rule_mechanisms(rule_t,CFTypeRef,authdb_connection_t);
18 static bool _copy_cf_rule_delegations(rule_t, CFTypeRef,authdb_connection_t);
185 rule_create_with_string(const char * str, authdb_connection_t dbconn)
214 rule_create_with_plist(RuleType type, CFStringRef name, CFDictionaryRef plist, authdb_connection_t dbconn)
319 _sql_get_id(rule_t rule, authdb_connection_t dbconn)
331 _copy_cf_rule_delegations(rule_t rule, CFTypeRef value, authdb_connection_t dbconn)
365 _copy_cf_rule_mechanisms(rule_t rule, CFTypeRef array, authdb_connection_t dbconn)
524 _get_sql_mechanisms(rule_t rule, authdb_connection_t dbconn)
543 _get_sql_delegates(rule_t rule, authdb_connection_t dbcon
[all...]
H A Dmechanism.c163 mechanism_create_with_string(const char * str, authdb_connection_t dbconn)
255 mechanism_sql_fetch(mechanism_t mech, authdb_connection_t dbconn)
273 mechanism_sql_commit(mechanism_t mech, authdb_connection_t dbconn)
H A Dserver.c252 authdb_connection_t dbconn = authdb_connection_acquire(gDatabase);
736 authdb_connection_t dbconn = authdb_connection_acquire(server_get_database());
795 static bool _update_rule_mechanism(authdb_connection_t dbconn, const char * rule_name, CFStringRef mechanism_name, CFStringRef insert_after_name, bool remove)
874 authdb_connection_t dbconn = NULL;
910 static int64_t _process_get_identifier_count(process_t proc, authdb_connection_t conn)
953 authdb_connection_t dbconn = NULL;
1065 authdb_connection_t dbconn = NULL;
H A Dengine.c216 _set_localization_hints(authdb_connection_t dbconn, auth_items_t hints, rule_t rule)
869 _find_rule(engine_t engine, authdb_connection_t dbconn, const char * string)
1016 authdb_connection_t dbconn = authdb_connection_acquire(server_get_database()); // get db handle
1173 authdb_connection_t dbconn = authdb_connection_acquire(server_get_database()); // get db handle

Completed in 173 milliseconds