From 833e03605f4fdea27e05ed360934bfd378d023e2 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Mon, 18 Feb 2013 01:57:37 +0100 Subject: Added missing information on when Open_Socket may be called. --- milter_api.ads | 13 +++++++------ 1 file 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; -- cgit v1.2.3