~ubuntu-branches/ubuntu/trusty/iscsitarget/trusty

« back to all changes in this revision

Viewing changes to usr/config.h

  • Committer: Colin Watson
  • Date: 2010-08-16 20:59:52 UTC
  • mfrom: (2.1.9 sid)
  • Revision ID: cjwatson@canonical.com-20100816205952-hyytf817ju6wk1bj
merge from Debian 1.4.20.2-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * config.h - ietd plain file-based configuration
 
3
 *
 
4
 * Copyright (C) 2004-2005 FUJITA Tomonori <tomof at acm dot org>
 
5
 * Copyright (C) 2004-2010 VMware, Inc. All Rights Reserved.
 
6
 * Copyright (C) 2007-2010 Ross Walker <rswwalker at gmail dot com>
 
7
 *
 
8
 * This file is part of iSCSI Enterprise Target software.
 
9
 *
 
10
 * Released under the terms of the GNU GPL v2.0.
 
11
 *
 
12
 * This program is free software; you can redistribute it and/or
 
13
 * modify it under the terms of the GNU General Public License as
 
14
 * published by the Free Software Foundation; either version 2 of the
 
15
 * License, or (at your option) any later version.
 
16
 *
 
17
 * This program is distributed in the hope that it will be useful, but
 
18
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
20
 * General Public License for more details.
 
21
 *
 
22
 * You should have received a copy of the GNU General Public License
 
23
 * along with this program; if not, write to the Free Software
 
24
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 
25
 * 02110-1301 USA
 
26
 */
 
27
 
1
28
#ifndef CONFIG_H
2
29
#define CONFIG_H
3
30
 
16
43
        int (*account_list) (u32, int, u32 *, u32 *, char *, size_t);
17
44
        int (*initiator_allow) (u32, int, char *);
18
45
        int (*target_allow) (u32, struct sockaddr *);
 
46
        int (*target_redirect) (u32, char *, u8);
19
47
};
20
48
 
21
49
extern struct config_operations *cops;