Added timesync handling to server demo for win32.

This commit is contained in:
skarg
2006-02-21 22:05:19 +00:00
parent 1bce1e083d
commit e1beecb6f2
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -71,6 +71,10 @@ static void Init_Service_Handlers(void)
handler_atomic_read_file);
apdu_set_confirmed_handler(SERVICE_CONFIRMED_REINITIALIZE_DEVICE,
handler_reinitialize_device);
apdu_set_unconfirmed_handler(SERVICE_UNCONFIRMED_UTC_TIME_SYNCHRONIZATION,
handler_timesync_utc);
apdu_set_unconfirmed_handler(SERVICE_UNCONFIRMED_TIME_SYNCHRONIZATION,
handler_timesync);
/* handle communication so we can shutup when asked */
apdu_set_confirmed_handler
(SERVICE_CONFIRMED_DEVICE_COMMUNICATION_CONTROL,