cctools
|
00001 /* 00002 Copyright (C) 2010- The University of Notre Dame 00003 This software is distributed under the GNU General Public License. 00004 See the file COPYING for details. 00005 */ 00006 00007 #ifndef AUTH_TICKET_H 00008 #define AUTH_TICKET_H 00009 00010 typedef char * (*auth_ticket_server_callback_t)(const char *); 00011 00012 int auth_ticket_register(void); 00013 00014 /* Callback to lookup a ticket. Returns free()able char * to ticket public key */ 00015 void auth_ticket_server_callback(auth_ticket_server_callback_t sc); 00016 00017 /* Add tickets to client side tickets to try or, if NULL, load 00018 * tickets from current working directory. 00019 */ 00020 void auth_ticket_load(const char *tickets); 00021 00022 #endif