sdk-hwV1.3/external/eyesee-mpp/system/public/tinyhttpd/httpd.h

31 lines
569 B
C
Raw Permalink Normal View History

2024-05-07 10:09:20 +00:00
#ifndef __HTTPD_H__
#define __HTTPD_H__
enum httpdStat {
POST_FILE_START,
POST_FILE_END,
POST_FILE_ERROR,
};
typedef struct __httpdCallback {
int (*httpdStatCallback)(int stat, void *argv, int argvLen, void *handler);
int (*httpdDataCallback)(void *argv, int argvLen, void *handler);
void *handler;
}httpdCallback;
#ifdef __cplusplus
extern "C" {
#endif
int startHttpd(httpdCallback *callback);
int stopHttpd();
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//#define DOWNLOAD_SPEED_SEC 0
//#define DOWNLOAD_SPEED_MICRO_SEC 0
#ifdef __cplusplus
}
#endif
#endif