GONEC_ARTERY_HttpServer/Inc/auth.h

20 lines
312 B
C

//
// Created by cfif on 13.02.23.
//
#ifndef GONEC_GSM_AUTH_H
#define GONEC_GSM_AUTH_H
#include "DeviceStorageIni.h"
typedef enum {
AUTH_NONE = 0,
AUTH_USER = 1,
AUTH_INTEG = 2,
AUTH_ADMIN = 3
} typeAuth;
typeAuth Auth(tDeviceStorageIni *storage, char *authStr);
#endif //GONEC_GSM_AUTH_H