]> jfr.im git - solanum.git/blobdiff - authd/provider.h
authd: split out notices stuff for backporting to master.
[solanum.git] / authd / provider.h
index ef96ca8415b63ca27f493ce6ec85a1c74c0db60a..8fab21cf0de8776900e4c44ae18e5b85caab1413 100644 (file)
@@ -34,14 +34,6 @@ typedef enum
        PROVIDER_BLACKLIST,
 } provider_t;
 
-typedef enum
-{
-       L_DEBUG = 'D',
-       L_INFO = 'I',
-       L_WARN = 'W',
-       L_CRIT ='C',
-} notice_level_t;
-
 struct auth_client
 {
        uint16_t cid;                           /* Client ID */
@@ -103,9 +95,6 @@ void provider_done(struct auth_client *auth, provider_t id);
 void accept_client(struct auth_client *auth, provider_t id);
 void reject_client(struct auth_client *auth, provider_t id, const char *reason);
 
-void notice_client(struct auth_client *auth, const char *fmt, ...);
-void warn_opers(notice_level_t level, const char *fmt, ...);
-
 void handle_new_connection(int parc, char *parv[]);
 
 /* Provider is operating on this auth_client (set this if you have async work to do) */