summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 69ff83d)
raw | patch | inline | side by side (parent: 69ff83d)
author | David Lide <a0216552@gtudci01.(none)> | |
Fri, 15 Jun 2012 20:32:02 +0000 (16:32 -0400) | ||
committer | David Lide <a0216552@gtudci01.(none)> | |
Fri, 15 Jun 2012 20:32:02 +0000 (16:32 -0400) |
ti/runtime/netapi/netapi.h | patch | blob | history |
index 3af8082b5bc9cd38732cf8d079318d1a5053abc8..8a95dfdf648c8a0e702c35164dd50d49fc7800b7 100755 (executable)
#include <stddef.h>\r
#include <string.h>\r
\r
+/**\r
+ * @brief This is the NWAL LLD Version. Versions numbers are encoded in the following \r
+ * format:\r
+ * 0xAABBCCDD -> Arch (AA); API Changes (BB); Major (CC); Minor (DD)\r
+ */\r
+#define NETAPI_VERSION_ID (0x01000002)\r
+\r
+/**\r
+ * @brief This is the version string which describes the NWAL LLD along with the\r
+ * date and build information.\r
+ */\r
+#define NETAPI_VERSION_STR "NETAPI Revision: 01.00.00.02"\r
+\r
+\r
/**\r
* @defgroup netapi_structures NETAPI data structures\r
*/\r
*/\r
void netapi_poll_heapGarbage(NETAPI_T p);\r
\r
+static inline int netapi_get_version(void) {return NETAPI_VERSION_ID;}\r
+static inline char * netapi_get_version_string(void) { return NETAPI_VERSION_STR;}\r
+\r
#endif\r