• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * $Id: includes.h,v 1.1 2004/11/14 07:26:26 paulus Exp $
3  *
4  * Copyright (C) 1997 Lars Fenneberg
5  *
6  * Copyright 1992 Livingston Enterprises, Inc.
7  *
8  * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan
9  * and Merit Network, Inc. All Rights Reserved
10  *
11  * See the file COPYRIGHT for the respective terms and conditions.
12  * If the file is missing contact me at lf@elemental.net
13  * and I'll send you a copy.
14  *
15  */
16 
17 #include <sys/types.h>
18 
19 #include <ctype.h>
20 #include <stdio.h>
21 #include <errno.h>
22 #include <netdb.h>
23 #include <syslog.h>
24 
25 #include <stdlib.h>
26 #include <string.h>
27 #include <stdarg.h>
28 
29 #include <unistd.h>
30 #include <fcntl.h>
31 #include <sys/stat.h>
32 
33 #include <limits.h>
34 
35 #ifndef PATH_MAX
36 #define PATH_MAX        1024
37 #endif
38 
39 #ifndef UCHAR_MAX
40 # define UCHAR_MAX       255
41 #endif
42 
43 #include <pwd.h>
44 #include <sys/socket.h>
45 #include <netinet/in.h>
46 #include <arpa/inet.h>
47 
48 #include <time.h>
49 
50 #include "magic.h"
51 
52 /* rlib/lock.c */
53 int do_lock_exclusive(int);
54 int do_unlock(int);
55