1- .\" Automatically generated by Pandoc 3.6.4
1+ .\" Automatically generated by Pandoc 3.7.0.2
22.\"
3- .TH "mtd_ep" "3" "Mar 30 , 2026" "Version 1.6.1 " "libmtdac"
3+ .TH "mtd_ep" "3" "May 19 , 2026" "Version 1.6.2 " "libmtdac"
44.SH NAME
55\f[B] mtd_ep \f[ R ] \- send query to API endpoint
66.SH LIBRARY
@@ -31,13 +31,13 @@ You can see more information about each endpoint in
3131\f[B] dsctx \f[ R ]
3232is a \f[B] struct mtd_dsrc_ctx \f[ R ] that defines the source of
3333\f[I] POST \f[ R ] /*PUT* data.
34- For endpoints that don\[ cq ] t take such data, this should be
34+ For endpoints that don\( cq t take such data, this should be
3535\f[B] NULL \f[ R ] .
3636.TP
3737\f[B] buf \f[ R ]
3838this is the output buffer.
39- It will be allocated by libmtdac and should be \f[B] free(3) \f[ R ]\[ cq ] d
40- by you.
39+ It will be allocated by libmtdac and should be \f[B] free(3) \f[ R ]\( cq d by
40+ you.
4141.TP
4242\f[B] params \f[ R ]
4343this specifies the parameters required for the endpoint including any
@@ -58,7 +58,7 @@ extras will be ignored.
5858There is no need to pass in how many entries is in params (or for it to
5959be NULL terminated) as this is dictated by each endpoint.
6060.PP
61- For any endpoints which don\[ cq ] t require \f[I] any \f[ R ] parameters, this
61+ For any endpoints which don\( cq t require \f[I] any \f[ R ] parameters, this
6262can be \f[B] NULL \f[ R ] .
6363If an endpoint \f[I] only \f[ R ] takes an \f[I] optional \f[ R ] query stirng,
6464then you still need a params with a single entry either containing NULL
@@ -73,7 +73,7 @@ On error, one of the below errors is returned.
7373.PP
7474\f[I] buf \f[ R ] will always either be returned as \f[B] NULL \f[ R ]
7575\f[I] or \f[ R ] a valid result buffer containing JSON which should be
76- \f[B] free(3) \f[ R ]\[ cq ] d .
76+ \f[B] free(3) \f[ R ]\( cq d .
7777.SH ERRORS
7878.TP
7979\f[B] MTD_ERR_OS \f[ R ]
0 commit comments