37 #include <sys/types.h>
58 struct chirp_file *
chirp_reli_open(
const char *host,
const char *path, INT64_T flags, INT64_T mode, time_t stoptime);
80 INT64_T
chirp_reli_pread(
struct chirp_file *file,
void *buffer, INT64_T length, INT64_T offset, time_t stoptime);
93 INT64_T
chirp_reli_pwrite(
struct chirp_file *file,
const void *buffer, INT64_T length, INT64_T offset, time_t stoptime);
133 INT64_T
chirp_reli_sread(
struct chirp_file *file,
void *buffer, INT64_T length, INT64_T stride_length, INT64_T stride_skip, INT64_T offset, time_t stoptime);
149 INT64_T
chirp_reli_swrite(
struct chirp_file *file,
const void *buffer, INT64_T length, INT64_T stride_length, INT64_T stride_skip, INT64_T offset, time_t stoptime);
180 INT64_T
chirp_reli_fchown(
struct chirp_file *file, INT64_T uid, INT64_T gid, time_t stoptime);
191 INT64_T
chirp_reli_fchmod(
struct chirp_file *file, INT64_T mode, time_t stoptime);
213 INT64_T chirp_reli_fsync(
struct chirp_file *file, time_t stoptime);
227 INT64_T
chirp_reli_getfile(
const char *host,
const char *path, FILE * stream, time_t stoptime);
255 INT64_T
chirp_reli_putfile(
const char *host,
const char *path, FILE * stream, INT64_T mode, INT64_T length, time_t stoptime);
269 INT64_T
chirp_reli_putfile_buffer(
const char *host,
const char *path,
const char *buffer, INT64_T mode, INT64_T length, time_t stoptime);
318 struct chirp_dir *
chirp_reli_opendir(
const char *host,
const char *path, time_t stoptime);
343 INT64_T chirp_reli_ticket_create(
const char *host,
char name[
CHIRP_PATH_MAX],
unsigned bits, time_t stoptime);
344 INT64_T chirp_reli_ticket_register(
const char *host,
const char *
name,
const char *subject, time_t duration, time_t stoptime);
345 INT64_T chirp_reli_ticket_delete(
const char *host,
const char *
name, time_t stoptime);
346 INT64_T chirp_reli_ticket_list(
const char *host,
const char *subject,
char ***
list, time_t stoptime);
347 INT64_T chirp_reli_ticket_get(
const char *host,
const char *
name,
char **subject,
char **ticket, time_t * duration,
char ***rights, time_t stoptime);
348 INT64_T chirp_reli_ticket_modify(
const char *host,
const char *
name,
const char *path,
const char *aclmask, time_t stoptime);
370 INT64_T
chirp_reli_setacl(
const char *host,
const char *path,
const char *subject,
const char *rights, time_t stoptime);
380 INT64_T
chirp_reli_resetacl(
const char *host,
const char *path,
const char *rights, time_t stoptime);
400 INT64_T
chirp_reli_whoami(
const char *host,
char *subject, INT64_T length, time_t stoptime);
412 INT64_T
chirp_reli_whoareyou(
const char *host,
const char *rhost,
char *subject, INT64_T length, time_t stoptime);
442 INT64_T
chirp_reli_rename(
const char *host,
const char *path,
const char *newpath, time_t stoptime);
452 INT64_T
chirp_reli_link(
const char *host,
const char *path,
const char *newpath, time_t stoptime);
462 INT64_T
chirp_reli_symlink(
const char *host,
const char *path,
const char *newpath, time_t stoptime);
473 INT64_T
chirp_reli_readlink(
const char *host,
const char *path,
char *buf, INT64_T length, time_t stoptime);
484 INT64_T
chirp_reli_mkdir(
const char *host,
const char *path, INT64_T mode, time_t stoptime);
504 INT64_T
chirp_reli_rmdir(
const char *host,
const char *path, time_t stoptime);
516 INT64_T
chirp_reli_rmall(
const char *host,
const char *path, time_t stoptime);
562 INT64_T
chirp_reli_access(
const char *host,
const char *path, INT64_T flags, time_t stoptime);
575 INT64_T
chirp_reli_chmod(
const char *host,
const char *path, INT64_T mode, time_t stoptime);
587 INT64_T
chirp_reli_chown(
const char *host,
const char *path, INT64_T uid, INT64_T gid, time_t stoptime);
599 INT64_T
chirp_reli_lchown(
const char *host,
const char *path, INT64_T uid, INT64_T gid, time_t stoptime);
609 INT64_T
chirp_reli_truncate(
const char *host,
const char *path, INT64_T length, time_t stoptime);
620 INT64_T
chirp_reli_utime(
const char *host,
const char *path, time_t actime, time_t modtime, time_t stoptime);
635 INT64_T
chirp_reli_md5(
const char *host,
const char *path,
unsigned char digest[16], time_t stoptime);
647 INT64_T
chirp_reli_setrep(
const char *host,
const char *path,
int nreps, time_t stoptime );
671 INT64_T
chirp_reli_localpath(
const char *host,
const char *path,
char *localpath,
int length, time_t stoptime);
698 INT64_T
chirp_reli_thirdput(
const char *host,
const char *path,
const char *thirdhost,
const char *thirdpath, time_t stoptime);
711 INT64_T
chirp_reli_mkalloc(
const char *host,
const char *path, INT64_T size, INT64_T mode, time_t stoptime);
724 INT64_T
chirp_reli_lsalloc(
const char *host,
const char *path,
char *allocpath, INT64_T * total, INT64_T * inuse, time_t stoptime);