mirror of git://git.gnupg.org/gnupg.git
c2b14f5d68
* kbx/backend-sqlite.c (be_sqlite_rollback): New. (be_sqlite_commit): New. (be_sqlite_search): Take care of global transactions. (be_sqlite_store): Ditto. (be_sqlite_delete): Ditto. * kbx/frontend.c (kbxd_rollback, kbxd_commit): New. * kbx/keyboxd.h (opt): Add vars for transactions. * kbx/kbxserver.c (struct server_local_s): Add fields next_session and client_pid. (session_list): New var. (cmd_transaction): New. (register_commands): Register command. (kbxd_start_command_handler): Store pids and track sessions. Do a final rollback. -- This command is currently an experiment to allow a client to run everything in one session. Signed-off-by: Werner Koch <wk@gnupg.org> |
||
---|---|---|
.. | ||
ChangeLog-2011 | ||
Makefile.am | ||
Manifest | ||
backend-cache.c | ||
backend-kbx.c | ||
backend-sqlite.c | ||
backend-support.c | ||
backend.h | ||
frontend.c | ||
frontend.h | ||
kbx-client-util.c | ||
kbx-client-util.h | ||
kbxserver.c | ||
kbxutil.c | ||
keybox-blob.c | ||
keybox-defs.h | ||
keybox-dump.c | ||
keybox-errors.c | ||
keybox-file.c | ||
keybox-init.c | ||
keybox-openpgp.c | ||
keybox-search-desc.h | ||
keybox-search.c | ||
keybox-update.c | ||
keybox-util.c | ||
keybox.h | ||
keyboxd-w32info.rc | ||
keyboxd.c | ||
keyboxd.h | ||
mkerrors |