TLSRPT_ADD_MX_HOST_PATTERN(3)

πŸ’– tlsrpt_add_mx_host_pattern β€” the girlies are adding MX host patterns πŸ’–

okay so bestie, we're in section 3 of the manual (that's the library-call girlies, not the shell-command ones, iykyk) πŸ’…


✨ NAME ✨

tlsrpt_add_mx_host_pattern β€” adds a MX host pattern to the current policy πŸŽ€


🌸 SYNOPSIS 🌸

#include <tlsrpt.h>

int tlsrpt_add_mx_host_pattern(struct tlsrpt_dr_t* dr, const char* mx_host_pattern)

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, tlsrpt_add_mx_host_pattern adds a MX host pattern to the current policy. that's it, that's the job, and it ate πŸ’…

and the best part?? you can add multiple MX host patterns within a policy. not one, not two β€” as many as you want, queen. stacking them like bracelets ✨


πŸ’œ RETURN VALUE πŸ’œ

  • 0 β€” slay, it worked, success ✨
  • anything else β€” it's a combined error code, so it failed, and it's giving complicated 😭

good news tho: you can analyze that combined error code with the tlsrpt_strerror function and figure out exactly what went wrong. detective mode activated πŸ”


πŸ‘‘ SEE ALSO πŸ‘‘

  • man:tlsrpt_strerror[3]
  • man:tlsrpt_error_code_is_internal[3]

πŸŽ€ AUTHOR πŸŽ€

Boris Lohner β€” ty for your service king 🫢


and that's the whole page fr fr πŸ’– this was tlsrpt_add_mx_host_pattern in section 3, dated 2026-05-12, from the manual page TLSRPT_ADD...ST_PATTERN(3). go add those patterns bestie, you got this 🌈⭐

πŸ“¦ where this page comes from