From a35f560f0c11ee4bb8e56e112452ac292692a10b Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 24 Jul 2012 22:27:05 -0700 Subject: [PATCH] Add missing onak.h from last changeset --- onak.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 onak.h diff --git a/onak.h b/onak.h new file mode 100644 index 0000000..3513a8d --- /dev/null +++ b/onak.h @@ -0,0 +1,33 @@ +/* + * onak.h - Common onak definitions + * + * Copyright 2012 Jonathan McDowell + * + * 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__ */ -- 2.30.2