Dillo v3.1.1-98-g318d1f14
|
Go to the source code of this file.
Functions | |
int | w_dpi_socket_dir (char *dirname, char *sockdir) |
int | tst_dir (char *dir) |
char * | mk_sockdir (void) |
char * | init_sockdir (char *dpi_socket_dir) |
Create a per user temporary directory for dpi sockets
Definition in file dpi_socket_dir.h.
char * init_sockdir | ( | char * | dpi_socket_dir | ) |
Create socket directory if it does not exist and save its name in ~/.dillo/dpi_socket_dir. \Return
Definition at line 98 of file dpi_socket_dir.c.
References a_Dpi_rd_dpi_socket_dir(), dFree(), ERRMSG, mk_sockdir(), MSG_ERR, tst_dir(), and w_dpi_socket_dir().
Referenced by main().
char * mk_sockdir | ( | void | ) |
Create socket directory \Return
Definition at line 77 of file dpi_socket_dir.c.
References a_Misc_mkdtemp(), dFree(), dStrconcat(), ERRMSG, and MSG_ERR.
Referenced by init_sockdir().
int tst_dir | ( | char * | dir | ) |
Test that socket directory exists and is a directory \Return
Definition at line 54 of file dpi_socket_dir.c.
References dFree(), dStrconcat(), ERRMSG, and MSG_ERR.
Referenced by init_sockdir().
int w_dpi_socket_dir | ( | char * | dirname, |
char * | sockdir | ||
) |
Save socket directory name in ~/.dillo/dpi_socket_dir \Return
Definition at line 34 of file dpi_socket_dir.c.
References ERRMSG.
Referenced by init_sockdir().