extern.h (76286) | extern.h (76351) |
---|---|
1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)extern.h 8.2 (Berkeley) 4/18/94 | 1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)extern.h 8.2 (Berkeley) 4/18/94 |
38 * $FreeBSD: head/bin/pax/extern.h 76286 2001-05-05 01:10:13Z kris $ | 38 * $FreeBSD: head/bin/pax/extern.h 76351 2001-05-08 06:19:06Z kris $ |
39 */ 40 41/* 42 * External references from each source file 43 */ 44 45#include <sys/cdefs.h> 46 --- 94 unchanged lines hidden (view full) --- 141int lnk_creat __P((register ARCHD *)); 142int cross_lnk __P((register ARCHD *)); 143int chk_same __P((register ARCHD *)); 144int node_creat __P((register ARCHD *)); 145int unlnk_exist __P((register char *, register int)); 146int chk_path __P((register char *, uid_t, gid_t)); 147void set_ftime __P((char *fnm, time_t mtime, time_t atime, int frc)); 148int set_ids __P((char *, uid_t, gid_t)); | 39 */ 40 41/* 42 * External references from each source file 43 */ 44 45#include <sys/cdefs.h> 46 --- 94 unchanged lines hidden (view full) --- 141int lnk_creat __P((register ARCHD *)); 142int cross_lnk __P((register ARCHD *)); 143int chk_same __P((register ARCHD *)); 144int node_creat __P((register ARCHD *)); 145int unlnk_exist __P((register char *, register int)); 146int chk_path __P((register char *, uid_t, gid_t)); 147void set_ftime __P((char *fnm, time_t mtime, time_t atime, int frc)); 148int set_ids __P((char *, uid_t, gid_t)); |
149int set_lids __P((char *, uid_t, gid_t)); |
|
149void set_pmode __P((char *, mode_t)); 150int file_write __P((int, char *, register int, int *, int *, int, char *)); 151void file_flush __P((int, char *, int)); 152void rdfile_close __P((register ARCHD *, register int *)); 153int set_crc __P((register ARCHD *, register int)); 154 155/* 156 * ftree.c 157 */ 158int ftree_start __P((void)); | 150void set_pmode __P((char *, mode_t)); 151int file_write __P((int, char *, register int, int *, int *, int, char *)); 152void file_flush __P((int, char *, int)); 153void rdfile_close __P((register ARCHD *, register int *)); 154int set_crc __P((register ARCHD *, register int)); 155 156/* 157 * ftree.c 158 */ 159int ftree_start __P((void)); |
159int ftree_add __P((register char *)); | 160int ftree_add __P((register char *, int)); |
160void ftree_sel __P((register ARCHD *)); 161void ftree_chk __P((void)); 162int next_file __P((register ARCHD *)); 163 164/* 165 * gen_subs.c 166 */ | 161void ftree_sel __P((register ARCHD *)); 162void ftree_chk __P((void)); 163int next_file __P((register ARCHD *)); 164 165/* 166 * gen_subs.c 167 */ |
167void ls_list __P((register ARCHD *, time_t)); | 168void ls_list __P((register ARCHD *, time_t, FILE *)); |
168void ls_tty __P((register ARCHD *)); | 169void ls_tty __P((register ARCHD *)); |
169void zf_strncpy __P((register char *, register char *, int)); | |
170int l_strncpy __P((register char *, register char *, int)); 171u_long asc_ul __P((register char *, int, register int)); 172int ul_asc __P((u_long, register char *, register int, register int)); 173#ifndef NET2_STAT 174u_quad_t asc_uqd __P((register char *, int, register int)); 175int uqd_asc __P((u_quad_t, register char *, register int, register int)); 176#endif 177 178/* | 170int l_strncpy __P((register char *, register char *, int)); 171u_long asc_ul __P((register char *, int, register int)); 172int ul_asc __P((u_long, register char *, register int, register int)); 173#ifndef NET2_STAT 174u_quad_t asc_uqd __P((register char *, int, register int)); 175int uqd_asc __P((u_quad_t, register char *, register int, register int)); 176#endif 177 178/* |
179 * getoldopt.c 180 */ 181int getoldopt __P((int, char **, char *)); 182 183/* |
|
179 * options.c 180 */ 181extern FSUB fsub[]; 182extern int ford[]; 183void options __P((register int, register char **)); 184OPLIST * opt_next __P((void)); 185int opt_add __P((register char *)); 186int bad_opt __P((void)); | 184 * options.c 185 */ 186extern FSUB fsub[]; 187extern int ford[]; 188void options __P((register int, register char **)); 189OPLIST * opt_next __P((void)); 190int opt_add __P((register char *)); 191int bad_opt __P((void)); |
192char *chdname; |
|
187 188/* 189 * pat_rep.c 190 */ 191int rep_add __P((register char *)); | 193 194/* 195 * pat_rep.c 196 */ 197int rep_add __P((register char *)); |
192int pat_add __P((char *)); | 198int pat_add __P((char *, char *)); |
193void pat_chk __P((void)); 194int pat_sel __P((register ARCHD *)); 195int pat_match __P((register ARCHD *)); 196int mod_name __P((register ARCHD *)); 197int set_dest __P((register ARCHD *, char *, int)); 198 199/* 200 * pax.c 201 */ 202extern int act; 203extern FSUB *frmt; 204extern int cflag; | 199void pat_chk __P((void)); 200int pat_sel __P((register ARCHD *)); 201int pat_match __P((register ARCHD *)); 202int mod_name __P((register ARCHD *)); 203int set_dest __P((register ARCHD *, char *, int)); 204 205/* 206 * pax.c 207 */ 208extern int act; 209extern FSUB *frmt; 210extern int cflag; |
211extern int cwdfd; |
|
205extern int dflag; 206extern int iflag; 207extern int kflag; 208extern int lflag; 209extern int nflag; 210extern int tflag; 211extern int uflag; 212extern int vflag; 213extern int Dflag; 214extern int Hflag; 215extern int Lflag; 216extern int Xflag; 217extern int Yflag; 218extern int Zflag; 219extern int vfpart; 220extern int patime; 221extern int pmtime; | 212extern int dflag; 213extern int iflag; 214extern int kflag; 215extern int lflag; 216extern int nflag; 217extern int tflag; 218extern int uflag; 219extern int vflag; 220extern int Dflag; 221extern int Hflag; 222extern int Lflag; 223extern int Xflag; 224extern int Yflag; 225extern int Zflag; 226extern int vfpart; 227extern int patime; 228extern int pmtime; |
229extern int nodirs; |
|
222extern int pmode; 223extern int pids; | 230extern int pmode; 231extern int pids; |
232extern int rmleadslash; |
|
224extern int exit_val; 225extern int docrc; 226extern char *dirptr; 227extern char *argv0; | 233extern int exit_val; 234extern int docrc; 235extern char *dirptr; 236extern char *argv0; |
237extern FILE *listf; |
|
228extern char *tempfile; 229extern char *tempbase; 230 231int main __P((int, char **)); 232void sig_cleanup __P((int)); 233 234/* 235 * sel_subs.c --- 9 unchanged lines hidden (view full) --- 245int lnk_start __P((void)); 246int chk_lnk __P((register ARCHD *)); 247void purg_lnk __P((register ARCHD *)); 248void lnk_end __P((void)); 249int ftime_start __P((void)); 250int chk_ftime __P((register ARCHD *)); 251int name_start __P((void)); 252int add_name __P((register char *, int, char *)); | 238extern char *tempfile; 239extern char *tempbase; 240 241int main __P((int, char **)); 242void sig_cleanup __P((int)); 243 244/* 245 * sel_subs.c --- 9 unchanged lines hidden (view full) --- 255int lnk_start __P((void)); 256int chk_lnk __P((register ARCHD *)); 257void purg_lnk __P((register ARCHD *)); 258void lnk_end __P((void)); 259int ftime_start __P((void)); 260int chk_ftime __P((register ARCHD *)); 261int name_start __P((void)); 262int add_name __P((register char *, int, char *)); |
253void sub_name __P((register char *, int *)); | 263void sub_name __P((register char *, int *, size_t)); |
254int dev_start __P((void)); 255int add_dev __P((register ARCHD *)); 256int map_dev __P((register ARCHD *, u_long, u_long)); 257int atdir_start __P((void)); 258void atdir_end __P((void)); 259void add_atdir __P((char *, dev_t, ino_t, time_t, time_t)); 260int get_atdir __P((dev_t, ino_t, time_t *, time_t *)); 261int dir_start __P((void)); --- 28 unchanged lines hidden --- | 264int dev_start __P((void)); 265int add_dev __P((register ARCHD *)); 266int map_dev __P((register ARCHD *, u_long, u_long)); 267int atdir_start __P((void)); 268void atdir_end __P((void)); 269void add_atdir __P((char *, dev_t, ino_t, time_t, time_t)); 270int get_atdir __P((dev_t, ino_t, time_t *, time_t *)); 271int dir_start __P((void)); --- 28 unchanged lines hidden --- |