#include "ucs2le.h"
#include "rapiwrap.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#include <grp.h>
Data Structures | |
struct | _tarhdr |
Header for each file contained in the tar archive. More... | |
union | _tarblock |
One tar block. More... | |
Defines | |
#define | CMDLINE_MAX 511 |
Maximum size of the command line passed to a windows CE program. | |
#define | MAXBUF 65536 |
Help buffer size, used in _wcat(). | |
#define | TARBLOCKLEN 512 |
Length of one tar block. | |
#define | TARBLOCKSIZE 512 |
Block size of the tar file created in _tar. | |
Typedefs | |
typedef t_err(* | _t_lscb )(const CE_FIND_DATA *aFileInfo, const t_ucs2le *ucs2le, const char *aBaseDir, void *aCtx) |
Type of the callback function for any kind of directory listing callback functions. | |
typedef t_err(* | _t_reg1cb )(const t_ucs2le *ucs2le, const char *aKeyName, const char *aValName, const BYTE *aValue, DWORD aValSize, DWORD aValType) |
Type of the callback function for _reg1(). | |
Enumerations | |
enum | t_err { ERR_OK = 0, ERR_NOT_INIT, ERR_RAPI_INIT, ERR_UCS2LE, ERR_PARAM, ERR_FILE, ERR_LIST, ERR_MD, ERR_RD, ERR_CREATE_PROCESS, ERR_IO, ERR_RM, ERR_MV, ERR_LN, ERR_REG, ERR_MEM, ERR_VER, ERR_ATTFMT, ERR_SETATT, ERR_NFND, ERR_INVOKE, ERR_NOMEM, ERR_TMPFILE, ERR_COPYORPASTE, ERR_UNKNOWN } |
Error codes. More... |
#define CMDLINE_MAX 511 |
Maximum size of the command line passed to a windows CE program.
#define MAXBUF 65536 |
Help buffer size, used in _wcat().
#define TARBLOCKLEN 512 |
Length of one tar block.
#define TARBLOCKSIZE 512 |
Block size of the tar file created in _tar.
typedef t_err(* _t_lscb)(const CE_FIND_DATA *aFileInfo, const t_ucs2le *ucs2le, const char *aBaseDir, void *aCtx) |
Type of the callback function for any kind of directory listing callback functions.
The first parameter is pointer to a structure describing a file found in the directory. The second parameter is the UCS2LE character encoding handle. The third parameter is the base directory for listed files. The fourth parameter is pointer to a context variable, the type and meaning of the context variable depends on the reason, for which the directory listing has been made.
typedef t_err(* _t_reg1cb)(const t_ucs2le *ucs2le, const char *aKeyName, const char *aValName, const BYTE *aValue, DWORD aValSize, DWORD aValType) |
Type of the callback function for _reg1().
Function of this type is called for each key value retrieved from by _reg1() from the registry.
enum t_err |
Error codes.