]> git.sommitrealweird.co.uk Git - onak.git/commitdiff
Add missing onak.h from last changeset
authorJonathan McDowell <noodles@earth.li>
Wed, 25 Jul 2012 05:27:05 +0000 (22:27 -0700)
committerJonathan McDowell <noodles@earth.li>
Wed, 25 Jul 2012 05:27:05 +0000 (22:27 -0700)
onak.h [new file with mode: 0644]

diff --git a/onak.h b/onak.h
new file mode 100644 (file)
index 0000000..3513a8d
--- /dev/null
+++ b/onak.h
@@ -0,0 +1,33 @@
+/*
+ * onak.h - Common onak definitions
+ *
+ * Copyright 2012 Jonathan McDowell <noodles@earth.li>
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; version 2 of the License.
+ *
+ * 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, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __ONAK_H__
+#define __ONAK_H__
+
+typedef enum {
+       ONAK_E_OK = 0,
+       ONAK_E_NOMEM,
+       ONAK_E_NOT_FOUND,
+       ONAK_E_INVALID_PARAM,
+       ONAK_E_INVALID_PKT,
+       ONAK_E_UNKNOWN_VER,
+       ONAK_E_UNSUPPORTED_FEATURE,
+} onak_status_t;
+
+#endif /* __ONAK_H__ */