Doc updates.

This commit is contained in:
Stuart Gathman
2008-12-04 19:43:00 +00:00
parent 14b95998c9
commit a1bbc31b11
2 changed files with 10 additions and 5 deletions
+1
View File
@@ -4,6 +4,7 @@
<li><a href="changes.html">Changes</a> <li><a href="changes.html">Changes</a>
<li><a href="requirements.html">Requirements</a> <li><a href="requirements.html">Requirements</a>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=139894">Download</a> <li><a href="http://sourceforge.net/project/showfiles.php?group_id=139894">Download</a>
<li><a href="RPM-GPG-KEY-bms">GPG-KEY</a>
<li><a href="faq.html">FAQ</a> <li><a href="faq.html">FAQ</a>
<li><a href="policy.html">Policies</a> <li><a href="policy.html">Policies</a>
<li><a href="logmsgs.html">Log&nbsp;Messages</a> <li><a href="logmsgs.html">Log&nbsp;Messages</a>
+9 -5
View File
@@ -35,6 +35,9 @@ $ python setup.py help
libraries=["milter","smutil","resolv"] libraries=["milter","smutil","resolv"]
* $Log$ * $Log$
* Revision 1.13 2008/11/23 03:06:47 customdesigned
* Milter support for chgfrom.
*
* Revision 1.12 2008/11/21 20:42:52 customdesigned * Revision 1.12 2008/11/21 20:42:52 customdesigned
* Support smfi_chgfrom and smfi_addrcpt_par. * Support smfi_chgfrom and smfi_addrcpt_par.
* *
@@ -255,10 +258,10 @@ typedef struct {
PyThreadState *t; /* python thread state */ PyThreadState *t; /* python thread state */
} milter_ContextObject; } milter_ContextObject;
/* Return a borrowed reference to the python Context. Create a /* Return a borrowed reference to the python Context. Called by callbacks
new Context if needed. The new Python Context is owned by invoked by libmilter. Create a new Context if needed. The new
the SMFICTX. The python interpreter is locked on successful Python Context is owned by the SMFICTX. The python interpreter is locked on
return, otherwise not. */ successful return, otherwise not. */
static milter_ContextObject * static milter_ContextObject *
_get_context(SMFICTX *ctx) { _get_context(SMFICTX *ctx) {
milter_ContextObject *self = smfi_getpriv(ctx); milter_ContextObject *self = smfi_getpriv(ctx);
@@ -292,7 +295,8 @@ _get_context(SMFICTX *ctx) {
return self; return self;
} }
/* Find the SMFICTX from a Python Context. The interpreter must be locked. */ /* Find the SMFICTX from a Python Context. Called by context methods invoked
from python. The interpreter must be locked. */
static SMFICTX * static SMFICTX *
_find_context(PyObject *c) { _find_context(PyObject *c) {
SMFICTX *ctx = NULL; SMFICTX *ctx = NULL;