~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to etc/afpd/afp_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: afp_config.h,v 1.3 2001/12/03 05:03:38 jmarcus Exp $
 
3
 */
 
4
 
 
5
#ifndef AFPD_CONFIG_H
 
6
#define AFPD_CONFIG_H 1
 
7
 
 
8
#ifdef HAVE_SYS_CDEFS_H
 
9
#include <sys/cdefs.h>
 
10
#endif /* HAVE_SYS_CDEFS_H */
 
11
 
 
12
#include <atalk/server_child.h>
 
13
#include <atalk/atp.h>
 
14
#include "globals.h"
 
15
 
 
16
typedef struct AFPConfig {
 
17
    AFPObj obj;
 
18
    int fd, statuslen;
 
19
    unsigned char *optcount;
 
20
    char status[ATP_MAXDATA];
 
21
    const void *defoptions, *signature;
 
22
    int (*server_start) __P((struct AFPConfig *, struct AFPConfig *,
 
23
                             server_child *));
 
24
    void (*server_cleanup) __P((const struct AFPConfig *));
 
25
    struct AFPConfig *next;
 
26
} AFPConfig;
 
27
 
 
28
extern AFPConfig *configinit __P((struct afp_options *));
 
29
extern void configfree __P((AFPConfig *, const AFPConfig *));
 
30
 
 
31
#endif