File: common.h

package info (click to toggle)
lio-utils 3.1%2Bgit2.fd0b34fd-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 992 kB
  • sloc: ansic: 7,031; python: 3,039; perl: 885; sh: 414; makefile: 118
file content (32 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 2006 SBE, Inc.
 * Copyright (c) 2009 Linux-iSCSI.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef COMMON_H
#define COMMON_H

#ifdef NETSNMP_CACHE_HANDLER_H
#define HAVE_CACHE_HANDLER	1
#endif
#ifdef CACHE_H
/* v5.1 */
#define HAVE_CACHE_HANDLER	1
#endif

#if !HAVE_CACHE_HANDLER
typedef void * netsnmp_cache;
#endif

#define OID_LIO			1,3,6,1,4,1,1055
#define OID_LIO_ISCSI_PRODUCT	OID_LIO,10
#define OID_LIO_ISCSI_MIB	OID_LIO_ISCSI_PRODUCT,1 
#define OID_LIO_IPS_AUTH_MIB	OID_LIO_ISCSI_PRODUCT,2 
#define OID_LIO_SCSI_MIB	OID_LIO_ISCSI_PRODUCT,3 

#endif /* COMMON_H */