cfent
extern int finalck __P((struct cfent *ept, int attrchg, int contchg,
extern struct cfent **procmap __P((VFP_T *vfp, int mapflag, char *ir));
extern void repl_cfent __P((struct cfent *new, struct cfent *old));
extern struct pinfo *eptstat __P((struct cfent *entry, char *pkg, char c));
extern struct cfent **eptlist;
struct cfent *ept;
struct cfent *ept;
eptstat(struct cfent *entry, char *pkg, char c)
finalck_warning(struct cfent *ept, int attrchg, int contchg)
static int finalck_warning(struct cfent *ept, int attrchg, int contchg);
static int finalck_error(struct cfent *ept, int attrchg, int contchg);
finalck(struct cfent *ept, int attrchg, int contchg, boolean_t a_warning)
finalck_error(struct cfent *ept, int attrchg, int contchg)
static int typechg(struct cfent *el_ent, struct cfent *cf_ent,
static void chgclass(struct cfent *cf_ent, struct pinfo *pinfo);
output(VFP_T *vfpo, struct cfent *ent, struct pinfo *pinfo)
static void output(VFP_T *vfpo, struct cfent *ent, struct pinfo *pinfo);
chgclass(struct cfent *cf_ent, struct pinfo *pinfo)
static struct cfent cf_ent; /* scratch area */
do_like_ent(VFP_T *vfpo, struct cfextra *el_ent, struct cfent *cf_ent, int ctrl)
is_setuid(struct cfent *ent)
is_setgid(struct cfent *ent)
typechg(struct cfent *el_ent, struct cfent *cf_ent, struct mergstat *mstat)
extern int cp_cfent(struct cfent *cf_ent, struct cfextra *el_ent);
merg(struct cfextra *el_ent, struct cfent *cf_ent)
static int is_setuid(struct cfent *ent);
static int is_setgid(struct cfent *ent);
static int merg(struct cfextra *el_ent, struct cfent *cf_ent);
struct cfent *cf_ent, int ctrl);
struct cfent *ept, map_entry;
(void) memset(&map_entry, '\000', sizeof (struct cfent));
(void) memcpy(ept, &map_entry, sizeof (struct cfent));
struct cfent *ept, *ept_i;
struct cfent *ept1, *ept2;
(void) memcpy(ept2, ept1, sizeof (struct cfent));
static int pkgobjassign(struct cfent *ept, char **server_local,
ckdup(struct cfent *ept1, struct cfent *ept2)
repl_cfent(struct cfent *new, struct cfent *old)
static int ckdup(struct cfent *ept1, struct cfent *ept2);
(void) memcpy(old, new, sizeof (struct cfent));
cp_cfent(struct cfent *cf_ent, struct cfextra *el_ent)
(void) memcpy(&(tp->cf_ent), cf_ent, sizeof (struct cfent));
pkgobjassign(struct cfent *ept, char **server_local, char **client_local,
struct cfent **
struct cfent *ept = (struct cfent *)NULL;
struct cfent map_entry;
struct cfent **ept_ptr;
space = ar_create(EPTMALLOC, (unsigned)sizeof (struct cfent),
(void) memset(&map_entry, '\000', sizeof (struct cfent));
ept_ptr = (struct cfent **)ar_next_avail(space);
(void) memcpy(ept, &map_entry, sizeof (struct cfent));
eptlist = (struct cfent **)ar_get_head(space);
struct cfent *ept, *ept_i;
ckdup(struct cfent *ept1, struct cfent *ept2)
static struct cfent **eptlist;
static int procassign(struct cfent *ept, char **server_local,
static int ckdup(struct cfent *ept1, struct cfent *ept2);
procassign(struct cfent *ept, char **server_local, char **client_local,
extern struct cfent **eptlist;
extern int ckentry(int, int, struct cfent *, VFP_T *, PKGserver);
static struct cfent entry;
struct cfent mine;
(void) memset((char *)&mine, '\0', sizeof (struct cfent));
findspool(struct cfent *ept)
static char *findspool(struct cfent *ept);
ckentry(int envflag, int maptyp, struct cfent *ept, VFP_T *vfp,
struct cfent **eptlist;
static struct cfent entry;
static void pkgusage(struct cfstat *dp, struct cfent *pentry);
pkgusage(struct cfstat *dp, struct cfent *pentry)
struct cfent *ept;
struct cfent *ept;
struct cfent *ept;
if ((stateFlag == B_FALSE) || (ept == (struct cfent *)NULL)) {
struct cfent *ept; /* entry from the internal list */
struct cfent *ept;
struct cfent *ept;
struct cfent *ept = (struct cfent *)NULL;
static struct cfent *svept;
static void outvol(struct cfent **eptlist, unsigned int eptnum, int part,
struct cfent **eptlist;
extern int splpkgmap(struct cfent **eptlist, unsigned int eptnum,
outvol(struct cfent **eptlist, unsigned int eptnum, int part, int nparts)
static boolean_t valid_zone_attr(struct cfent **eptlist);
valid_zone_attr(struct cfent **eptlist)
static struct cfent entry;
struct cfent *ept;
struct cfent *ept;
splpkgmap(struct cfent **eptlist, unsigned int eptnum, char *order[],
struct cfent entry;
findlink(struct cfent *ept, char *path, char *svpath)
static void findlink(struct cfent *ept, char *path, char *svpath);
ept = (struct cfent *)calloc(1, sizeof (struct cfent));
eptlist = (struct cfent **)realloc(eptlist,
(eptnum+EPTMALLOC)*sizeof (struct cfent *));
eptlist[eptnum] = (struct cfent *)NULL;
extern struct cfent **eptlist;
struct cfent *ept;
eptlist = (struct cfent **)calloc(EPTMALLOC,
sizeof (struct cfent *));
ept = (struct cfent *)calloc(1,
(unsigned)sizeof (struct cfent));
struct cfent *ept;
struct cfent **eptlist;
struct cfent cf_ent; /* basic contents file entry */
gpkgmap(struct cfent *ept, FILE *fp)
gpkgmapvfp(struct cfent *ept, VFP_T *vfp)
extern int gpkgmap(struct cfent *ept, FILE *fp);
extern int gpkgmapvfp(struct cfent *ept, VFP_T *fpv);
extern int ppkgmap(struct cfent *ept, FILE *fp);
extern int putcfile(struct cfent *ept, FILE *fp);
extern int putcvfpfile(struct cfent *ept, VFP_T *vfp);
extern int srchcfile(struct cfent *ept, char *path, PKGserver server);
extern void tputcfent(struct cfent *ept, FILE *fp);
ppkgmap(struct cfent *ept, FILE *fp)
putcvfpfile(struct cfent *a_ept, VFP_T *a_vfp)
putcfile(struct cfent *a_ept, FILE *a_fp)
srchcfile(struct cfent *ept, char *path, PKGserver server)
tputcfent(struct cfent *ept, FILE *fp)