#include "uipopt.h"#include "pt.h"Go to the source code of this file.
Data Structures | |
| struct | psock_buf |
| struct | psock |
Defines | |
| #define | PSOCK_INIT(psock, buffer, buffersize) |
| #define | PSOCK_BEGIN(psock) |
| #define | PSOCK_SEND(psock, data, datalen) |
| #define | PSOCK_SEND_STR(psock, str) |
| Send a null-terminated string. | |
| #define | PSOCK_GENERATOR_SEND(psock, generator, arg) |
| Generate data with a function and send it. | |
| #define | PSOCK_CLOSE(psock) |
| #define | PSOCK_READBUF(psock) |
| #define | PSOCK_READTO(psock, c) |
| #define | PSOCK_DATALEN(psock) |
| #define | PSOCK_EXIT(psock) |
| #define | PSOCK_CLOSE_EXIT(psock) |
| #define | PSOCK_END(psock) |
| #define | PSOCK_NEWDATA(psock) |
| #define | PSOCK_WAIT_UNTIL(psock, condition) |
| #define | PSOCK_WAIT_THREAD(psock, condition) PT_WAIT_THREAD(&((psock)->pt), (condition)) |
Functions | |
| void | psock_init (struct psock *psock, char *buffer, unsigned int buffersize) |
| PT_THREAD (psock_send(struct psock *psock, const char *buf, unsigned int len)) | |
| PT_THREAD (psock_generator_send(struct psock *psock, unsigned short(*f)(void *), void *arg)) | |
| PT_THREAD (psock_readbuf(struct psock *psock)) | |
| PT_THREAD (psock_readto(struct psock *psock, unsigned char c)) | |
| u16_t | psock_datalen (struct psock *psock) |
| char | psock_newdata (struct psock *s) |
Protosocket library header file
Definition in file psock.h.
1.7.1