[ekg2-commit] ekg2: sessions.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Czw, 3 Maj 2007, 17:48:35 CEST
Module name: ekg2
Changes by: peres 2007-05-03 17:48:33
Modified files:
sessions.c
Log message:
changed_session_locks() - doc & const param.
Index: sessions.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/sessions.c,v
diff -d -u -r1.128 -r1.129
--- sessions.c 3 May 2007 14:17:52 -0000 1.128
+++ sessions.c 3 May 2007 15:48:32 -0000 1.129
@@ -1638,7 +1638,12 @@
fclose(f);
}
-void changed_session_locks(char *varname) {
+/**
+ * changed_session_locks() is called whenever 'session_locks' variable changes it's value.
+ *
+ * It should cleanup old locks and reinit new, if needed.
+ */
+void changed_session_locks(const char *varname) {
list_t l;
#ifdef HAVE_FLOCK
Więcej informacji o liście dyskusyjnej ekg2-commit