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

« back to all changes in this revision

Viewing changes to src/include/radius_snmp.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:
1
1
#ifndef _RADIUS_SNMP_H
2
2
#define _RADIUS_SNMP_H
3
3
/*
4
 
 * Version:     $Id: radius_snmp.h,v 1.12 2004/04/06 19:01:06 aland Exp $
 
4
 * Version:     $Id: radius_snmp.h,v 1.12.4.1 2006/02/07 15:29:10 nbk Exp $
5
5
 */
6
6
#ifdef WITH_SNMP
7
7
 
8
 
#ifdef HAVE_ASN1_SNMP_SNMPIMPL_H
9
 
#include        <asn1.h>
10
 
#include        <snmp.h>
11
 
#include        <snmp_impl.h>
12
 
#else
13
 
#ifdef HAVE_UCD_SNMP_ASN1_SNMP_SNMPIMPL_H
14
 
#include        <ucd-snmp/ucd-snmp-config.h>
15
 
#include        <ucd-snmp/asn1.h>
16
 
#include        <ucd-snmp/snmp.h>
17
 
#include        <ucd-snmp/snmp_impl.h>
18
 
#endif
19
 
#endif
20
 
 
21
 
#include        "smux.h"
 
8
typedef enum smux_event_t {
 
9
  SMUX_NONE, SMUX_CONNECT, SMUX_READ
 
10
} smux_event_t;
22
11
 
23
12
extern void radius_snmp_init(void);
24
13
extern int smux_connect(void);