initial commit
This commit is contained in:
16
lib/amb1_sdk/common/network/httpd/httpd_int.h
Normal file
16
lib/amb1_sdk/common/network/httpd/httpd_int.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _HTTPD_INT_H_
|
||||
#define _HTTPD_INT_H_
|
||||
|
||||
#include "httpd.h"
|
||||
|
||||
int httpd_init(void);
|
||||
void httpd_deinit(void);
|
||||
void httpd_setup(uint16_t port, uint8_t max_conn, uint8_t secure);
|
||||
int httpd_return_server_sock(void);
|
||||
int httpd_accept(int server_sock, struct httpd_conn **client_conn, int accept_timeout);
|
||||
|
||||
int httpd_write(struct httpd_conn *conn, uint8_t *buf, size_t buf_len);
|
||||
int httpd_read(struct httpd_conn *conn, uint8_t *buf, size_t buf_len);
|
||||
int httpd_read_with_timeout(struct httpd_conn *conn, uint8_t *buf, uint16_t buf_len, int recv_timeout);
|
||||
|
||||
#endif /* _HTTPD_INT_H_ */
|
||||
Reference in New Issue
Block a user