Print this page
*** NO COMMENTS ***
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ypcmd/revnetgroup/getgroup.h
+++ new/usr/src/cmd/ypcmd/revnetgroup/getgroup.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License, Version 1.0 only
6 6 * (the "License"). You may not use this file except in compliance
7 7 * with the License.
8 8 *
9 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 * or http://www.opensolaris.org/os/licensing.
11 11 * See the License for the specific language governing permissions
12 12 * and limitations under the License.
13 13 *
14 14 * When distributing Covered Code, include this CDDL HEADER in each
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 * If applicable, add the following below this CDDL HEADER, with the
17 17 * fields enclosed by brackets "[]" replaced with your own identifying
18 18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 19 *
20 20 * CDDL HEADER END
21 21 */
22 22 /*
23 23 * Copyright 1995 Sun Microsystems Inc.
24 24 * All rights reserved.
25 + *
26 + * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
25 27 */
26 -
27 28
28 29 #ifndef __GETGROUP_H
29 30 #define __GETGROUP_H
30 31
31 -#pragma ident "%Z%%M% %I% %E% SMI" /* SMI4.1 1.4 */
32 -
33 32 #ifdef __cplusplus
34 33 extern "C" {
35 34 #endif
36 35
37 -struct grouplist {
36 +struct grouplist {
38 37 char *gl_machine;
39 38 char *gl_name;
40 39 char *gl_domain;
41 40 struct grouplist *gl_nxt;
42 41 };
43 42
44 -struct grouplist *my_getgroup();
43 +struct list;
44 +void freegrouplist(revhandle_t *);
45 +void doit(char *group, struct list *list, revhandle_t *hdl);
45 46
46 47 #ifdef __cplusplus
47 48 }
48 49 #endif
49 50
50 51 #endif /* __GETGROUP_H */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX