MOS Source Code
|
#include <sys/socket.h>
#include <sys/types.h>
#include <pb_encode.h>
#include <pb_decode.h>
#include "common.h"
Go to the source code of this file.
Functions | |
static bool | write_callback (pb_ostream_t *stream, const uint8_t *buf, size_t count) |
static bool | read_callback (pb_istream_t *stream, uint8_t *buf, size_t count) |
pb_ostream_t | pb_ostream_from_socket (int fd) |
pb_istream_t | pb_istream_from_socket (int fd) |
Definition at line 11 of file common.c.
Referenced by pb_ostream_from_socket().
Definition at line 17 of file common.c.
Referenced by pb_istream_from_socket().
pb_ostream_t pb_ostream_from_socket | ( | int | fd | ) |
Definition at line 33 of file common.c.
Referenced by handle_connection(), and listdir().
pb_istream_t pb_istream_from_socket | ( | int | fd | ) |
Definition at line 39 of file common.c.
Referenced by handle_connection(), and listdir().