![]() |
openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
|
#include <unistd.h>#include <fcntl.h>#include <sys/socket.h>#include <sys/select.h>#include <arpa/inet.h>#include <netdb.h>#include <glib.h>#include <vector>#include <string>#include "wrappers.h"#include <lib/base/ebase.h>#include <lib/base/eerror.h>Functions | |
| int | Select (int maxfd, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
| ssize_t | singleRead (int fd, void *buf, size_t count) |
| ssize_t | timedRead (int fd, void *buf, size_t count, int initialtimeout, int interbytetimeout) |
| ssize_t | readLine (int fd, char **buffer, size_t *bufsize) |
| int | Connect (const char *hostname, int port, int timeoutsec) |
| ssize_t | writeAll (int fd, const void *buf, size_t count) |
| std::string | base64encode (const std::string str) |
| std::string | base64decode (const std::string hash) |
| std::string | readLink (const std::string &link) |
| bool | contains (const std::string &str, const std::string &substr) |
| bool | endsWith (const std::string &str, const std::string &suffix) |
| bool | startsWith (const std::string &str, const std::string &prefix) |
| std::string base64decode | ( | const std::string | hash | ) |
| std::string base64encode | ( | const std::string | str | ) |
| int Connect | ( | const char * | hostname, |
| int | port, | ||
| int | timeoutsec | ||
| ) |
| bool contains | ( | const std::string & | str, |
| const std::string & | substr | ||
| ) |
| bool endsWith | ( | const std::string & | str, |
| const std::string & | suffix | ||
| ) |
| ssize_t readLine | ( | int | fd, |
| char ** | buffer, | ||
| size_t * | bufsize | ||
| ) |
| std::string readLink | ( | const std::string & | link | ) |
| int Select | ( | int | maxfd, |
| fd_set * | readfds, | ||
| fd_set * | writefds, | ||
| fd_set * | exceptfds, | ||
| struct timeval * | timeout | ||
| ) |
| ssize_t singleRead | ( | int | fd, |
| void * | buf, | ||
| size_t | count | ||
| ) |
| bool startsWith | ( | const std::string & | str, |
| const std::string & | prefix | ||
| ) |
| ssize_t timedRead | ( | int | fd, |
| void * | buf, | ||
| size_t | count, | ||
| int | initialtimeout, | ||
| int | interbytetimeout | ||
| ) |
| ssize_t writeAll | ( | int | fd, |
| const void * | buf, | ||
| size_t | count | ||
| ) |