summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtins.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-09-08 18:46:50 -0400
committerColin Walters <walters@verbum.org>2012-09-08 19:34:10 -0400
commitfa5485c6c4e77a0d161a502d3efb806d6d803f19 (patch)
treed1fa0ddfdaeb8f946f937de8bb374c26dba28217 /src/ostree/ot-admin-builtins.h
parent2ddbeb1f7159f87b62bc46664ddca55a63319b75 (diff)
downloadostree-fa5485c6c4e77a0d161a502d3efb806d6d803f19.tar.gz
Move "ostadmin" => "ostree admin"
This helps us avoid polluting the global binary namespace.
Diffstat (limited to 'src/ostree/ot-admin-builtins.h')
-rw-r--r--src/ostree/ot-admin-builtins.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ostree/ot-admin-builtins.h b/src/ostree/ot-admin-builtins.h
new file mode 100644
index 00000000..f9e60d71
--- /dev/null
+++ b/src/ostree/ot-admin-builtins.h
@@ -0,0 +1,37 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ *
+ * Copyright (C) 2011 Colin Walters <walters@verbum.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Colin Walters <walters@verbum.org>
+ */
+
+#ifndef __OT_ADMIN_BUILTINS__
+#define __OT_ADMIN_BUILTINS__
+
+#include <gio/gio.h>
+
+G_BEGIN_DECLS
+
+gboolean ot_admin_builtin_init (int argc, char **argv, GFile *ostree_dir, GError **error);
+gboolean ot_admin_builtin_deploy (int argc, char **argv, GFile *ostree_dir, GError **error);
+gboolean ot_admin_builtin_diff (int argc, char **argv, GFile *ostree_dir, GError **error);
+gboolean ot_admin_builtin_update_kernel (int argc, char **argv, GFile *ostree_dir, GError **error);
+
+G_END_DECLS
+
+#endif