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

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
  */
 
 #ifndef _LIBBRAND_H
 #define _LIBBRAND_H
 

@@ -52,10 +53,12 @@
 extern int brand_get_brandname(brand_handle_t, char *, size_t);
 extern int brand_get_clone(brand_handle_t, const char *, const char *,
     char *, size_t);
 extern int brand_get_detach(brand_handle_t, const char *, const char *,
     char *, size_t);
+extern int brand_get_shutdown(brand_handle_t, const char *, const char *,
+    char *, size_t);
 extern int brand_get_halt(brand_handle_t, const char *, const char *,
     char *, size_t);
 extern int brand_get_initname(brand_handle_t, char *, size_t);
 extern int brand_get_install(brand_handle_t, const char *, const char *,
     char *, size_t);