opt_t
void opt_t(int, char *);
STRING|NO_QUERY|MORE_OK, 0, NULL, opt_t,
int parse_opt(char *, struct opt_t *);
void do_ioctls(int, struct opt_t *, int);
void change_value(const struct opt_t);
struct opt_t opt;
do_ioctls(int fd, struct opt_t *o, int silent)
change_value(const struct opt_t o)
parse_opt(char *s, struct opt_t *o) {
dostat(char *file, struct stat *statbuf, opt_t opts)
statupdate(int u, char *starget, opt_t opts, char *rname, int destdir,
fullupdate(int u, char *starget, opt_t opts, char *rname, int destdir,
sendit(char *rname, opt_t opts, int destdir)
install(char *src, char *dest, int ddir, int destdir, opt_t opts)
runspecial(char *starget, opt_t opts, char *rname, int destdir)
runcmdspecial(struct cmd *cmd, opt_t opts)
sendhardlink(opt_t opts, struct linkbuf *lp, char *rname, int destdir)
sendfile(char *rname, opt_t opts, struct stat *stb, char *user,
rmchk(opt_t opts)
senddir(char *rname, opt_t opts, struct stat *stb, char *user,
sendlink(char *rname, opt_t opts, struct stat *stb, char *user,
static void runspecial(char *, opt_t, char *, int);
static int sendhardlink(opt_t, struct linkbuf *, char *, int);
static int sendfile(char *, opt_t, struct stat *, char *, char *, int);
static int rmchk(opt_t);
static int senddir(char *, opt_t, struct stat *, char *, char *, int);
static int sendlink(char *, opt_t, struct stat *, char *, char *, int);
static int update(char *, opt_t, struct stat *);
static int dostat(char *, struct stat *, opt_t);
update(char *rname, opt_t opts, struct stat *statp)
static int statupdate(int, char *, opt_t, char *, int, struct stat *, char *, char *);
static int fullupdate(int, char *, opt_t, char *, int, struct stat *, char *, char *);
static int sendit(char *, opt_t, int);
void runcmdspecial(struct cmd *, opt_t);
int install(char *, char *, int, int , opt_t);
int parsedistopts(char *, opt_t *, int);
char *getondistoptlist(opt_t);
opt_t sc_options;
getusername(uid_t uid, char *file, opt_t opts)
getgroupname(gid_t gid, char *file, opt_t opts)
opt_t options = 0; /* Global install options */
extern opt_t options; /* Global options */
char *getusername(uid_t, char *, opt_t);
char *getgroupname(gid_t, char *, opt_t);
parsedistopts(char *str, opt_t *optptr, int doerrs)
getondistoptlist(opt_t opts)
opt_t do_value;
volatile opt_t opts = options;
opt_t opt = 0;
opt_t optval;
recvlink(char *new, opt_t opts, int mode, off_t size)
opt_t opts;
opt_t opts;
opt_t opts;
opt_t opts;
chkparent(char *name, opt_t opts)
savetarget(char *file, opt_t opts)
static int chkparent(char *, opt_t);
static char *savetarget(char *, opt_t);
static void recvfile(char *, opt_t, int, char *, char *, time_t, time_t, off_t);
recvfile(char *new, opt_t opts, int mode, char *owner, char *group,
static void recvdir(opt_t, int, char *, char *);
static void recvlink(char *, opt_t, int, off_t);
recvdir(opt_t opts, int mode, char *owner, char *group)
static enum opt_t Option;