From: Jonathan McDowell Date: Wed, 25 Jul 2012 05:27:05 +0000 (-0700) Subject: Add missing onak.h from last changeset X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/a35f560f0c11ee4bb8e56e112452ac292692a10b?ds=sidebyside Add missing onak.h from last changeset --- 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__ */