Home
last modified time | relevance | path

Searched refs:sqlite3_path (Results 1 – 2 of 2) sorted by relevance

/third_party/libwebsockets/lib/misc/
Dlws-struct-sqlite.c504 lws_struct_sq3_open(struct lws_context *context, const char *sqlite3_path, in lws_struct_sq3_open() argument
512 if (sqlite3_open_v2(sqlite3_path, pdb, in lws_struct_sq3_open()
517 __func__, sqlite3_path, sqlite3_errmsg(*pdb)); in lws_struct_sq3_open()
525 if (chown(sqlite3_path, uid, gid)) in lws_struct_sq3_open()
526 lwsl_err("%s: failed to chown %s\n", __func__, sqlite3_path); in lws_struct_sq3_open()
527 chmod(sqlite3_path, 0600); in lws_struct_sq3_open()
530 sqlite3_path, (unsigned int)uid, (unsigned int)gid); in lws_struct_sq3_open()
532 lwsl_debug("%s: created %s\n", __func__, sqlite3_path); in lws_struct_sq3_open()
/third_party/libwebsockets/include/libwebsockets/
Dlws-struct.h279 lws_struct_sq3_open(struct lws_context *context, const char *sqlite3_path,