CYPHERTITE(3)

NAME
simplect - simple cyphertite library api

SYNOPSIS
#include <cyphertite.h>
int
ct_do_archive(struct ct_global_state *state, char *ctfile, char **flist, char *tdir, char **excludelist, char *includefile, int matchmode, int no_cross_mounts, int strip_slash, int follow_root_symlink, int follow_symlinks);
int
ct_do_extract(struct ct_global_state *state, char *ctfile, char *tdir, char **excludelist, char **includelist, int matchmode, int strip_slash, int follow_symlinks, int preserve_attr);
int
ct_do_list(struct ct_global_state *state, char **search, char **exclude, int matchmode, void (*printfn) (struct ct_global_state *state, struct ct_op *op));
int
ct_do_delete(struct ct_global_state *state, char *ctfile, int matchmode);
int
ct_do_checkforfile(struct ct_global_state *state, char *ctfile);
int
ct_setup_preinit(int flags, int cflags, int debug_mask);
int
ct_setup_config(char *configfile, struct ct_global_state **state);
int
ct_cleanup_all(struct ct_global_state *state, char *configfile);
int
list_print(struct ct_global_state *state, struct ct_op *op);

DESCRIPTION
These functions provide a simple interface for the archiving, extraction, and listing of files via cyphertite (along with initializing and cleaning up for those operations).

RETURN VALUES
All functions return 0 on success and non-zero on failure. Specific error codes are available via errno.

EXAMPLES

SEE ALSO
cyphertite(3)

HISTORY
-nosplit simplect was written by Conformal Systems, LLC. <info@conformal.com>.