Print this page
2594 implement graceful shutdown for local zones in zoneadm

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbrand/common/libbrand.h
          +++ new/usr/src/lib/libbrand/common/libbrand.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _LIBBRAND_H
  27   28  #define _LIBBRAND_H
  28   29  
  29   30  #ifdef  __cplusplus
  30   31  extern "C" {
  31   32  #endif
  32   33  
  33   34  #include <sys/types.h>
↓ open down ↓ 13 lines elided ↑ open up ↑
  47   48  
  48   49  extern int brand_get_attach(brand_handle_t, const char *, const char *,
  49   50      char *, size_t);
  50   51  extern int brand_get_boot(brand_handle_t, const char *, const char *,
  51   52      char *, size_t);
  52   53  extern int brand_get_brandname(brand_handle_t, char *, size_t);
  53   54  extern int brand_get_clone(brand_handle_t, const char *, const char *,
  54   55      char *, size_t);
  55   56  extern int brand_get_detach(brand_handle_t, const char *, const char *,
  56   57      char *, size_t);
       58 +extern int brand_get_shutdown(brand_handle_t, const char *, const char *,
       59 +    char *, size_t);
  57   60  extern int brand_get_halt(brand_handle_t, const char *, const char *,
  58   61      char *, size_t);
  59   62  extern int brand_get_initname(brand_handle_t, char *, size_t);
  60   63  extern int brand_get_install(brand_handle_t, const char *, const char *,
  61   64      char *, size_t);
  62   65  extern int brand_get_installopts(brand_handle_t, char *, size_t);
  63   66  extern int brand_get_login_cmd(brand_handle_t, const char *, char *, size_t);
  64   67  extern int brand_get_forcedlogin_cmd(brand_handle_t, const char *,
  65   68      char *, size_t);
  66   69  extern int brand_get_modname(brand_handle_t, char *, size_t);
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX