~ubuntu-branches/ubuntu/hardy/freeradius/hardy-proposed

« back to all changes in this revision

Viewing changes to src/include/smux.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#ifndef _SMUX_H
12
12
#define _SMUX_H
13
13
 
 
14
#ifdef HAVE_ASN1_SNMP_SNMPIMPL_H
 
15
#include <asn1.h>
 
16
#include <snmp.h>
 
17
#include <snmp_impl.h>
 
18
#else
 
19
# ifdef HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H
 
20
# include <ucd-snmp/ucd-snmp-config.h>
 
21
# include <ucd-snmp/asn1.h>
 
22
# include <ucd-snmp/snmp.h>
 
23
# include <ucd-snmp/snmp_impl.h>
 
24
# endif
 
25
#endif
 
26
 
14
27
#define SMUX_PORT_DEFAULT 199
15
28
 
16
29
#define SMUXMAXPKTSIZE    1500
120
133
    (u_char *) &snmp_in_addr_val \
121
134
  )
122
135
 
123
 
typedef enum smux_event_t {
124
 
  SMUX_NONE, SMUX_CONNECT, SMUX_READ
125
 
} smux_event_t;
126
 
 
127
136
void smux_init(oid [], size_t);
128
137
void smux_start(void);
129
138
void smux_stop(void);