Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TLSRPT_INIT_POLICY(3)	       tlsrpt_init_policy	   TLSRPT_INIT_POLICY(3)

NAME
     tlsrpt_init_policy  -  initializes a new policy within an existing delivery
     request

SYNOPSIS
     #include <tlsrpt.h>

     int tlsrpt_init_policy(struct tlsrpt_dr_t*  dr,  tlsrpt_policy_type_t  pol-
     icy_type, * const char* policydomainname)

DESCRIPTION
     The tlsrpt_init_policy function initializes a new policy within an existing
     delivery request. A delivery request must contain at least one policy.

     The  policy  must	be  properly completed by calls to some of the following
     functions and a final call to tlsrpt_finish_policy.

	 Note

	 An unfinished policy after some properly finished policies will  result
	 in  the  whole delivery request datagram to fail and not being sent out
	 at all, so the other already completed policies wonA't be reported  ei-
	 ther!

RETURN VALUE
     The  tlsrpt_init_policy  function returns 0 on success and a combined error
     code on failure. The combined error code  can  be	analyzed  with	the  tl-
     srpt_strerror function.

SEE ALSO
     tlsrpt_finish_policy(3),	tlsrpt_strerror(3),  tlsrpt_error_code_is_inter-
     nal(3)

AUTHOR(S)
     Boris Lohner
	 Author(s).

tlsrpt_init_policy		   2024-11-06		   TLSRPT_INIT_POLICY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tlsrpt_init_policy&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help