summaryrefslogtreecommitdiffstats
path: root/mnsl/mns_eh_pb.h
diff options
context:
space:
mode:
Diffstat (limited to 'mnsl/mns_eh_pb.h')
-rw-r--r--mnsl/mns_eh_pb.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/mnsl/mns_eh_pb.h b/mnsl/mns_eh_pb.h
new file mode 100644
index 0000000..422ae15
--- /dev/null
+++ b/mnsl/mns_eh_pb.h
@@ -0,0 +1,68 @@
+/*
+ * MOST NetServices "Light" V3.2.7.0.1796 MultiInstance Patch
+ *
+ * Copyright (C) 2015 Microchip Technology Germany II GmbH & Co. KG
+ *
+ * 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, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * 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/>.
+ *
+ * You may also obtain this software under a propriety license from Microchip.
+ * Please contact Microchip for further information.
+ *
+ */
+
+/*!
+ * \file
+ * \brief Public header file of the event handler.
+ */
+/*!
+ * \addtogroup G_MNS_INIT_AND_SRV_TYPES
+ * @{
+ */
+
+#ifndef MNS_EH_PB_H
+#define MNS_EH_PB_H
+
+/*------------------------------------------------------------------------------------------------*/
+/* Includes */
+/*------------------------------------------------------------------------------------------------*/
+#include "mns_cfg.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/*------------------------------------------------------------------------------------------------*/
+/* Enumerations */
+/*------------------------------------------------------------------------------------------------*/
+/*! \brief MOST NetServices general error codes */
+typedef enum Mns_Error_
+{
+ MNS_GEN_ERR_COMMUNICATION = 1, /*!< \brief Fatal communication error between EHC and INIC */
+ MNS_GEN_ERR_INIC = 2 /*!< \brief INIC internal error */
+
+} Mns_Error_t;
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* #ifndef MNS_EH_PB_H */
+
+/*! @} */
+
+/*------------------------------------------------------------------------------------------------*/
+/* End of file */
+/*------------------------------------------------------------------------------------------------*/
+