50 unsigned processed:1; /* already installed or removed */
51 unsigned parentsyml2dir:1;
52 /* parent directory changed from symlink to a directory */
53 };
54
55 /*
56 * This is information required by pkgadd for fast operation. A
57 * cfextra struct is tagged to each cfent structure requiring
58 * processing. This is how we avoid some unneeded repetition. The
59 * entries incorporating the word 'local' refer to the path that
60 * gets us to the delivered package file. In other words, to install
61 * a file we usually copy from 'local' to 'path' below. In the case
62 * of a link, where no actual copying takes place, local is the source
63 * of the link. Note that environment variables are not evaluated in
64 * the locals unless they are links since the literal path is how
65 * pkgadd finds the entry under the reloc directory.
66 */
67 struct cfextra {
68 struct cfent cf_ent; /* basic contents file entry */
69 struct mergstat mstat; /* merge status for installs */
70 short fsys_value; /* fstab[] entry index */
71 short fsys_base; /* actual base filesystem in fs_tab[] */
72 char *client_path; /* the client-relative path */
73 char *server_path; /* the server-relative path */
74 char *map_path; /* as read from the pkgmap */
75 char *client_local; /* client_relative local */
76 char *server_local; /* server relative local */
77 };
78
79 #ifdef __cplusplus
80 }
81 #endif
82
83 #endif /* _CFEXT_H */
|
50 unsigned processed:1; /* already installed or removed */
51 unsigned parentsyml2dir:1;
52 /* parent directory changed from symlink to a directory */
53 };
54
55 /*
56 * This is information required by pkgadd for fast operation. A
57 * cfextra struct is tagged to each cfent structure requiring
58 * processing. This is how we avoid some unneeded repetition. The
59 * entries incorporating the word 'local' refer to the path that
60 * gets us to the delivered package file. In other words, to install
61 * a file we usually copy from 'local' to 'path' below. In the case
62 * of a link, where no actual copying takes place, local is the source
63 * of the link. Note that environment variables are not evaluated in
64 * the locals unless they are links since the literal path is how
65 * pkgadd finds the entry under the reloc directory.
66 */
67 struct cfextra {
68 struct cfent cf_ent; /* basic contents file entry */
69 struct mergstat mstat; /* merge status for installs */
70 uint32_t fsys_value; /* fstab[] entry index */
71 uint32_t fsys_base; /* actual base filesystem in fs_tab[] */
72 char *client_path; /* the client-relative path */
73 char *server_path; /* the server-relative path */
74 char *map_path; /* as read from the pkgmap */
75 char *client_local; /* client_relative local */
76 char *server_local; /* server relative local */
77 };
78
79 #ifdef __cplusplus
80 }
81 #endif
82
83 #endif /* _CFEXT_H */
|