Annotation of src/usr.bin/gzsig/extern.h, Revision 1.3
1.1 marius 1: /*
2: * extern.h
3: *
4: * Copyright (c) 2001 Dug Song <dugsong@arbor.net>
5: * Copyright (c) 2001 Arbor Networks, Inc.
6: *
7: * Redistribution and use in source and binary forms, with or without
8: * modification, are permitted provided that the following conditions
9: * are met:
10: *
11: * 1. Redistributions of source code must retain the above copyright
12: * notice, this list of conditions and the following disclaimer.
13: * 2. Redistributions in binary form must reproduce the above copyright
14: * notice, this list of conditions and the following disclaimer in the
15: * documentation and/or other materials provided with the distribution.
16: * 3. The names of the copyright holders may not be used to endorse or
17: * promote products derived from this software without specific
18: * prior written permission.
19: *
20: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
21: * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22: * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
23: * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24: * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25: * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26: * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27: * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28: * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29: * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30: *
1.2 marius 31: * $Vendor: extern.h,v 1.2 2005/04/01 16:47:31 dugsong Exp $
1.1 marius 32: */
33:
34: #ifndef EXTERN_H
35: #define EXTERN_H
36:
37: void sign(int argc, char *argv[]);
38: void verify(int argc, char *argv[]);
39:
40: int sign_passwd_cb(char *buf, int size, int rwflag, void *u);
41:
42: void sign_usage(void);
43: void verify_usage(void);
44:
1.3 ! jasper 45: extern char *__progname; /* from crt0.o */
! 46:
1.1 marius 47: #endif /* EXTERN_H */