src/common/ChangeLog:
authorMoritz Schulte <mo@g10code.com>
Sat, 10 Dec 2005 18:02:18 +0000 (18:02 +0000)
committerMoritz Schulte <mo@g10code.com>
Sat, 10 Dec 2005 18:02:18 +0000 (18:02 +0000)
commit4f1fe0471d71163a7b9bfb01aca8e329609828c9
tree19ba174cfa905c66f611beaccc02bc6601fc176f
parentb7f1808044035a39d25ed7cf6b2ed62f7efbc425
src/common/ChangeLog:

2005-12-10  Moritz Schulte  <moritz@g10code.com>

* support.c (directory_process): New function.
Include <dirent.h>.

* support.h (directory_process_cb_t): New type.
(directory_process): Declare new function.

src/ctrl/ChangeLog:

2005-12-10  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c (ask_user): Return ERR_NO_DATA in case of EOF while
reading username, return ERR_INV_NAME in case an empty line was
read.
(key_file_create): Print warning instead of error message in case
the key file does already exist; only change file owner in case
PWENT is non-NULL.
(main): Include new commands, removed old commands.

(key_file_create): Open key file with O_EXCL flag set, better
error handling.

(struct poldi_ctrl_opt): New members: cmd_register_card,
cmd_unregister_card, cmd_list_cards, cmd_associate,
cmd_disassociate; removed members: cmd_add_user, cmd_remove_user.
Implemented new commands.

(cmd_register_card, cmd_unregister_card, cmd_list_cards,
cmd_associate, cmd_disassociate, directory_process_cb): New
functions.
(cmd_add_user, cmd_remove_user): Removed functions.
(enum arg_opt_ids): Add new symbols for new command arguments.

ChangeLog:

2005-12-10  Moritz Schulte  <moritz@g10code.com>

* NEWS: Updated.
ChangeLog
NEWS
src/common/ChangeLog
src/common/support.c
src/common/support.h
src/ctrl/ChangeLog
src/ctrl/poldi-ctrl.c