aboutsummaryrefslogtreecommitdiff
path: root/libwmc/src/com.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-09-27 13:13:40 -0500
committerDan Williams <dcbw@redhat.com>2011-09-27 13:13:40 -0500
commit18fc92ef7304d01c5ec11ced22ff82c4ab6dbbe1 (patch)
treeee936fbb66ed56b1d2545d3f25550c16fcf1efcc /libwmc/src/com.h
parent8250dee13177a164d61e31fe8d60900f9d5c6797 (diff)
libwmc: add more test code and start of com tests
Diffstat (limited to 'libwmc/src/com.h')
-rw-r--r--libwmc/src/com.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libwmc/src/com.h b/libwmc/src/com.h
new file mode 100644
index 00000000..ffcf5d54
--- /dev/null
+++ b/libwmc/src/com.h
@@ -0,0 +1,33 @@
+/* -*- 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_COM_H
+#define LIBWMC_COM_H
+
+#include "errors.h"
+
+enum {
+ WMC_SERIAL_ERROR = 1000
+};
+
+enum {
+ WMC_SERIAL_ERROR_CONFIG_FAILED = 1
+};
+
+wbool wmc_port_setup (int fd, WmcError **error);
+
+#endif /* LIBWMC_COM_H */