Print this page
patch zone-auto-create-be

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbrand/common/libbrand.h
          +++ new/usr/src/lib/libbrand/common/libbrand.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  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   24   * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  25   25   * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
       26 + * Copyright 2015 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
  26   27   */
  27   28  
  28   29  #ifndef _LIBBRAND_H
  29   30  #define _LIBBRAND_H
  30   31  
  31   32  #ifdef  __cplusplus
  32   33  extern "C" {
  33   34  #endif
  34   35  
  35   36  #include <sys/types.h>
↓ open down ↓ 3 lines elided ↑ open up ↑
  39   40  typedef struct priv_iter_s {
  40   41          char    *pi_name;
  41   42          char    *pi_set;
  42   43          char    *pi_iptype;
  43   44  } priv_iter_t;
  44   45  
  45   46  extern brand_handle_t brand_open(const char *);
  46   47  extern void brand_close(brand_handle_t);
  47   48  
  48   49  extern boolean_t brand_allow_exclusive_ip(brand_handle_t);
       50 +extern boolean_t brand_auto_create_be(brand_handle_t);
  49   51  
  50   52  extern int brand_get_attach(brand_handle_t, const char *, const char *,
  51   53      char *, size_t);
  52   54  extern int brand_get_boot(brand_handle_t, const char *, const char *,
  53   55      char *, size_t);
  54   56  extern int brand_get_brandname(brand_handle_t, char *, size_t);
  55   57  extern int brand_get_clone(brand_handle_t, const char *, const char *,
  56   58      char *, size_t);
  57   59  extern int brand_get_detach(brand_handle_t, const char *, const char *,
  58   60      char *, size_t);
↓ open down ↓ 62 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX