diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-28 00:36:48 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-28 00:36:48 -0500 |
commit | 90f6ddf9acba1abd3dc91a0920238be65d45f946 (patch) | |
tree | ffd9e5325e6ed8824df814996fc73690078a9238 /gpspacket.c | |
parent | 39aad6c8ad31d1c76383103079009dcf65492aaa (diff) | |
download | gpsd-90f6ddf9acba1abd3dc91a0920238be65d45f946.tar.gz |
Restore some Python constants needed for gpscat to work.
Diffstat (limited to 'gpspacket.c')
-rw-r--r-- | gpspacket.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gpspacket.c b/gpspacket.c index 1ce12dc1..cb851404 100644 --- a/gpspacket.c +++ b/gpspacket.c @@ -273,4 +273,15 @@ initpacket(void) PyModule_AddIntConstant(m, "RTCM2_PACKET", RTCM2_PACKET); PyModule_AddIntConstant(m, "RTCM3_PACKET", RTCM3_PACKET); PyModule_AddIntConstant(m, "JSON_PACKET", JSON_PACKET); + + PyModule_AddIntConstant(m, "LOG_ERROR", LOG_ERROR); + PyModule_AddIntConstant(m, "LOG_SHOUT", LOG_SHOUT); + PyModule_AddIntConstant(m, "LOG_WARN", LOG_WARN); + PyModule_AddIntConstant(m, "LOG_CLIENT", LOG_CLIENT); + PyModule_AddIntConstant(m, "LOG_INF", LOG_INF); + PyModule_AddIntConstant(m, "LOG_PROG", LOG_PROG); + PyModule_AddIntConstant(m, "LOG_IO", LOG_IO); + PyModule_AddIntConstant(m, "LOG_DATA", LOG_DATA); + PyModule_AddIntConstant(m, "LOG_SPIN", LOG_SPIN); + PyModule_AddIntConstant(m, "LOG_RAW", LOG_RAW); } |