include/uid.h
raw| 1 | /* |
| 2 | * Copyright (c) 2011 William Pitcock <[email protected]>. |
| 3 | * Rights to this code are as documented in doc/LICENSE. |
| 4 | * |
| 5 | * UID provider stuff. |
| 6 | */ |
| 7 | |
| 8 | #ifndef ATHEME_UID_H |
| 9 | #define ATHEME_UID_H |
| 10 | |
| 11 | typedef struct { |
| 12 | void (*uid_init)(const char *sid); |
| 13 | const char *(*uid_get)(void); |
| 14 | } uid_provider_t; |
| 15 | |
| 16 | extern uid_provider_t *uid_provider_impl; |
| 17 | |
| 18 | #endif |