git » libjio » commit a861705

bindings/python: Add jfsck() return constants

author Alberto Bertogli
2009-08-01 14:36:04 UTC
committer Alberto Bertogli
2009-08-02 01:16:44 UTC
parent 9333107f3bfc06258b6c38db3722783548076f59

bindings/python: Add jfsck() return constants

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

bindings/python/libjio.c +4 -0

diff --git a/bindings/python/libjio.c b/bindings/python/libjio.c
index b5c5267..caf76ac 100644
--- a/bindings/python/libjio.c
+++ b/bindings/python/libjio.c
@@ -876,10 +876,14 @@ static void populate_module(PyObject *m)
 	PyModule_AddIntConstant(m, "J_ROLLBACKED", J_ROLLBACKED);
 	PyModule_AddIntConstant(m, "J_ROLLBACKING", J_ROLLBACKING);
 	PyModule_AddIntConstant(m, "J_RDONLY", J_RDONLY);
+
+	/* enum jfsck_return */
 	PyModule_AddIntConstant(m, "J_ESUCCESS", J_ESUCCESS);
 	PyModule_AddIntConstant(m, "J_ENOENT", J_ENOENT);
 	PyModule_AddIntConstant(m, "J_ENOJOURNAL", J_ENOJOURNAL);
 	PyModule_AddIntConstant(m, "J_ENOMEM", J_ENOMEM);
+	PyModule_AddIntConstant(m, "J_ECLEANUP", J_ECLEANUP);
+	PyModule_AddIntConstant(m, "J_EIO", J_EIO);
 
 	/* open constants (at least the POSIX ones) */
 	PyModule_AddIntConstant(m, "O_RDONLY", O_RDONLY);