return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * );
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_bufmemcpy(struct backuppc_client_info *src, void *dst, size_t n) {
if (src->bufsize < n) {
return(1);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * );
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_outbufmemcpy(struct backuppc_client_info *dst, const void *src, size_t n) {
size_t bytesleft;
unsigned long newoutbufsize;
return(1);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * );
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- * For type = BPC_DT_STRING_PTR, must be a pointer to (char *) NULL initially, or allocated
- * size + 1 or greater.
- *
- */
static int backuppc_readvalues(struct backuppc_client_info *client, backuppc_recv_mark_t rmid, ...) {
struct backuppc_client_prochandle *ph;
backuppc_datatypes_t typeid;
return(1);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_writevalues(struct backuppc_client_info *client, backuppc_send_mark_t smid, ...) {
struct backuppc_client_prochandle *ph;
backuppc_datatypes_t typeid;
return(1);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_listget_init(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
int i;
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_listget_fini(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
int i;
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_process_listget(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
ssize_t read_ret, get_attr_ret;
return(0);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_auth_init(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_auth_fini(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
return(ret);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_process_auth(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
backuppc_status_t auth_stat = BPC_STATUS_UNKNOWN;
return(0);;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_client_init(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
int i;
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static void backuppc_process_client_fini(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_process_client(struct backuppc_client_info *client) {
struct backuppc_client_prochandle *ph;
uint8_t tmp_cmd;
return(0);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
static int backuppc_verify_addr(uint32_t addr) {
return(1);
}
return;
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * );
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
-
static int backuppc_opt_remove_svc(void) {
if (daemon_remove() < 0) {
exit(EXIT_FAILURE);
exit(EXIT_SUCCESS);
}
-/*
- * SYNOPSIS:
- * static void backuppc_pathmangle(
- * char *pathname
- * )
- *
- * ARGUMENTS:
- * char *pathname Pathname to mangle.
- *
- * RETURN VALUE:
- * (none)
- *
- * NOTES:
- *
- */
-
static int backuppc_opt_stop_svc(void) {
if (daemon_stop() < 0) {
exit(EXIT_FAILURE);