aboutsummaryrefslogtreecommitdiff
path: root/libwmc/src/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'libwmc/src/commands.h')
-rw-r--r--libwmc/src/commands.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libwmc/src/commands.h b/libwmc/src/commands.h
new file mode 100644
index 00000000..dba839b5
--- /dev/null
+++ b/libwmc/src/commands.h
@@ -0,0 +1,41 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Copyright (C) 2011 Red Hat, Inc.
+ *
+ * This program is free software: you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef LIBWMC_COMMANDS_H
+#define LIBWMC_COMMANDS_H
+
+#include "result.h"
+
+/**********************************************************************/
+
+/* Generic enums */
+
+
+/**********************************************************************/
+
+#define WMC_CMD_DEVICE_INFO_ITEM_MANUFACTURER "manufacturer"
+#define WMC_CMD_DEVICE_INFO_ITEM_MODEL "model"
+#define WMC_CMD_DEVICE_INFO_ITEM_FW_REVISION "firmware-revision"
+#define WMC_CMD_DEVICE_INFO_ITEM_HW_REVISION "hardware-revision"
+
+size_t wmc_cmd_device_info_new (char *buf, size_t buflen);
+
+WmcResult * wmc_cmd_device_info_result (const char *buf, size_t len);
+
+/**********************************************************************/
+
+#endif /* LIBWMC_COMMANDS_H */