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
↓ 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