diff options
author | Björn Persson <bjorn@rombobjörn.se> | 2013-02-18 01:57:37 +0100 |
---|---|---|
committer | Björn Persson <bjorn@rombobjörn.se> | 2013-02-18 01:57:37 +0100 |
commit | 833e03605f4fdea27e05ed360934bfd378d023e2 (patch) | |
tree | 38d43fc5f727b49069c3f3c70223b4a6789e026e | |
parent | 56e74e32f5caaee8b70ca246b4040175129cd124 (diff) |
Added missing information on when Open_Socket may be called.
-rw-r--r-- | milter_api.ads | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/milter_api.ads b/milter_api.ads index 12cd737..78dfe80 100644 --- a/milter_api.ads +++ b/milter_api.ads @@ -442,12 +442,13 @@ package Milter_API is -- smfi_setconn). procedure Open_Socket(Remove_Old_Socket : Boolean); - -- Open_Socket should only be called before Main. It creates the socket - -- specified previously by a call to Set_Socket (calls smfi_opensocket). - -- This allows the calling application to ensure that the socket can be - -- created. If the socket is specified as a Unix domain socket and - -- Remove_Old_Socket is true, then Libmilter will try to remove any existing - -- socket before creating a new one. + -- Open_Socket should only be called after Register and before Main. It + -- creates the socket specified previously by a call to Set_Socket (calls + -- smfi_opensocket). This allows the calling application to ensure that + -- the socket can be created. If Remove_Old_Socket is true, the socket is + -- specified as a Unix domain socket, and a socket with the specified name + -- already exists, then Libmilter will try to remove the existing socket + -- before creating a new one. -- If Open_Socket is not called, then Main will create the socket. procedure Main; |