8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / stmfadm / stmfadm.h
blob2224db935e69686af9268ba5c2503b188023010c
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
26 #ifndef _STMFADM_H
27 #define _STMFADM_H
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 #include <stdio.h>
34 #include <stdlib.h>
35 #include <string.h>
36 #include <libintl.h>
37 #include <unistd.h>
38 #include <sys/types.h>
39 #include <netinet/in.h>
40 #include <inttypes.h>
41 #include <cmdparse.h>
43 /* DEFINES */
45 /* subcommands */
46 #define ADD_MEMBER SUBCOMMAND(0)
47 #define ADD_VIEW SUBCOMMAND(1)
48 #define CREATE_I_GROUP SUBCOMMAND(2)
49 #define CREATE_T_GROUP SUBCOMMAND(3)
50 #define DELETE_GROUP SUBCOMMAND(4)
51 #define LIST_INIT SUBCOMMAND(5)
52 #define LIST_INIT_GROUP SUBCOMMAND(6)
53 #define LIST_TARGET_GROUP SUBCOMMAND(7)
54 #define LIST_VIEW SUBCOMMAND(8)
55 #define REMOVE_MEMBER SUBCOMMAND(9)
56 #define REMOVE_VIEW SUBCOMMAND(10)
59 #define OPERANDSTRING_INITIATOR "initiator-name"
60 #define OPERANDSTRING_LU "LU-name"
61 #define OPERANDSTRING_GROUP_MEMBER "group-member"
62 #define OPERANDSTRING_GROUP_NAME "group-name"
63 #define OPERANDSTRING_TARGET "target-name"
64 #define OPERANDSTRING_VIEW_ENTRY "ve-number"
66 #define VERSION_STRING_MAX_LEN 10
69 #ifdef __cplusplus
71 #endif
73 #endif /* _STMFADM_H */