Eneboo - Documentación para desarrolladores
|
#include <pwd.h>
#include <netdb.h>
#include <ctype.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Ir al código fuente de este archivo.
'defines' | |
#define | is_absolute_path(filename) |
#define | EXE "" |
#define | DEVNULL "/dev/null" |
#define | DEVTTY "/dev/tty" |
#define | SYSTEMQUOTE "" |
#define | pgpipe(a) pipe(a) |
#define | piperead(a, b, c) read(a,b,c) |
#define | pipewrite(a, b, c) write(a,b,c) |
#define | TIMEZONE_GLOBAL timezone |
#define | TZNAME_GLOBAL tzname |
#define | closesocket close |
#define | fseeko(a, b, c) fseek(a, b, c) |
#define | ftello(a) ftell(a) |
Funciones | |
bool | pg_set_noblock (int sock) |
bool | pg_set_block (int sock) |
char * | first_dir_separator (const char *filename) |
char * | last_dir_separator (const char *filename) |
char * | first_path_separator (const char *pathlist) |
void | join_path_components (char *ret_path, const char *head, const char *tail) |
void | canonicalize_path (char *path) |
void | make_native_path (char *path) |
bool | path_contains_parent_reference (const char *path) |
bool | path_is_prefix_of_path (const char *path1, const char *path2) |
const char * | get_progname (const char *argv0) |
void | get_share_path (const char *my_exec_path, char *ret_path) |
void | get_etc_path (const char *my_exec_path, char *ret_path) |
void | get_include_path (const char *my_exec_path, char *ret_path) |
void | get_pkginclude_path (const char *my_exec_path, char *ret_path) |
void | get_includeserver_path (const char *my_exec_path, char *ret_path) |
void | get_lib_path (const char *my_exec_path, char *ret_path) |
void | get_pkglib_path (const char *my_exec_path, char *ret_path) |
void | get_locale_path (const char *my_exec_path, char *ret_path) |
void | get_doc_path (const char *my_exec_path, char *ret_path) |
void | get_man_path (const char *my_exec_path, char *ret_path) |
void | set_pglocale_pgservice (const char *argv0, const char *app) |
bool | get_home_path (char *ret_path) |
void | get_parent_directory (char *path) |
int | find_my_exec (const char *argv0, char *retpath) |
int | find_other_exec (const char *argv0, const char *target, const char *versionstr, char *retpath) |
void | pg_usleep (long microsec) |
int | pg_strcasecmp (const char *s1, const char *s2) |
int | pg_strncasecmp (const char *s1, const char *s2, size_t n) |
unsigned char | pg_toupper (unsigned char ch) |
unsigned char | pg_tolower (unsigned char ch) |
char * | simple_prompt (const char *prompt, int maxlen, bool echo) |
int | pclose_check (FILE *stream) |
void | copydir (char *fromdir, char *todir, bool recurse) |
bool | rmtree (char *path, bool rmtopdir) |
char * | crypt (const char *key, const char *setting) |
int | getopt (int nargc, char *const *nargv, const char *ostr) |
int | isinf (double x) |
double | rint (double x) |
int | inet_aton (const char *cp, struct in_addr *addr) |
char * | strdup (char const *) |
long | random (void) |
void | unsetenv (const char *name) |
void | srandom (unsigned int seed) |
char * | pqStrerror (int errnum, char *strerrbuf, size_t buflen) |
int | pqGetpwuid (uid_t uid, struct passwd *resultbuf, char *buffer, size_t buflen, struct passwd **result) |
int | pqGethostbyname (const char *name, struct hostent *resultbuf, char *buffer, size_t buflen, struct hostent **result, int *herrno) |
#define closesocket close |
#define DEVNULL "/dev/null" |
#define DEVTTY "/dev/tty" |
#define EXE "" |
#define is_absolute_path | ( | filename | ) |
( \
((filename)[0] == '/') \
)
#define SYSTEMQUOTE "" |
#define TIMEZONE_GLOBAL timezone |
#define TZNAME_GLOBAL tzname |
void canonicalize_path | ( | char * | path | ) |
void copydir | ( | char * | fromdir, |
char * | todir, | ||
bool | recurse | ||
) |
char* crypt | ( | const char * | key, |
const char * | setting | ||
) |
int find_my_exec | ( | const char * | argv0, |
char * | retpath | ||
) |
int find_other_exec | ( | const char * | argv0, |
const char * | target, | ||
const char * | versionstr, | ||
char * | retpath | ||
) |
char* first_dir_separator | ( | const char * | filename | ) |
char* first_path_separator | ( | const char * | pathlist | ) |
void get_doc_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_etc_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
bool get_home_path | ( | char * | ret_path | ) |
void get_include_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_includeserver_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_lib_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_locale_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_man_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_parent_directory | ( | char * | path | ) |
void get_pkginclude_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
void get_pkglib_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
const char* get_progname | ( | const char * | argv0 | ) |
void get_share_path | ( | const char * | my_exec_path, |
char * | ret_path | ||
) |
int inet_aton | ( | const char * | cp, |
struct in_addr * | addr | ||
) |
int isinf | ( | double | x | ) |
void join_path_components | ( | char * | ret_path, |
const char * | head, | ||
const char * | tail | ||
) |
char* last_dir_separator | ( | const char * | filename | ) |
void make_native_path | ( | char * | path | ) |
bool path_contains_parent_reference | ( | const char * | path | ) |
bool path_is_prefix_of_path | ( | const char * | path1, |
const char * | path2 | ||
) |
int pclose_check | ( | FILE * | stream | ) |
int pg_strcasecmp | ( | const char * | s1, |
const char * | s2 | ||
) |
unsigned char pg_tolower | ( | unsigned char | ch | ) |
unsigned char pg_toupper | ( | unsigned char | ch | ) |
void pg_usleep | ( | long | microsec | ) |
int pqGethostbyname | ( | const char * | name, |
struct hostent * | resultbuf, | ||
char * | buffer, | ||
size_t | buflen, | ||
struct hostent ** | result, | ||
int * | herrno | ||
) |
int pqGetpwuid | ( | uid_t | uid, |
struct passwd * | resultbuf, | ||
char * | buffer, | ||
size_t | buflen, | ||
struct passwd ** | result | ||
) |
long random | ( | void | ) |
double rint | ( | double | x | ) | [inline] |
void set_pglocale_pgservice | ( | const char * | argv0, |
const char * | app | ||
) |
void srandom | ( | unsigned int | seed | ) |
char* strdup | ( | char const * | ) |
void unsetenv | ( | const char * | name | ) |