@@ -56,7 +56,7 @@ _priv_free (void *ctx, void *ptr)
5656 *
5757 * @returns A LM_PARSED_JSON* on success or NULL on error
5858 *
59- * \sa mseh_free_parsestate()
59+ * @see mseh_free_parsestate()
6060 ***************************************************************************/
6161static LM_PARSED_JSON *
6262parse_json (char * jsonstring , size_t length , LM_PARSED_JSON * parsed )
@@ -118,27 +118,27 @@ parse_json (char *jsonstring, size_t length, LM_PARSED_JSON *parsed)
118118 * \c '/objectA/objectB/header'.
119119 *
120120 * This routine can get used to test for the existence of a value
121- * without returning the value by setting \a value to NULL.
121+ * without returning the value by setting @p value to NULL.
122122 *
123- * If the target item is found (and \a value parameter is set) the
124- * value will be copied into the memory specified by \c value. The
125- * \a type value specifies the data type expected.
123+ * If the target item is found (and @p value parameter is set) the
124+ * value will be copied into the memory specified by @p value. The
125+ * @p type value specifies the data type expected.
126126 *
127- * If a \a parsestate pointer is supplied, the parsed (deserialized) JSON
127+ * If a @p parsestate pointer is supplied, the parsed (deserialized) JSON
128128 * data are stored here. This value may be used in subsequent calls to
129129 * avoid re-parsing the JSON. The data must be freed with
130130 * mseh_free_parsestate() when done reading the JSON. If this value
131131 * is NULL the parse state will be created and destroyed on each call.
132132 *
133133 * @param[in] msr Parsed miniSEED record to search
134134 * @param[in] ptr Header value desired, as JSON Pointer
135- * @param[out] value Buffer for value, of type \c type
135+ * @param[out] value Buffer for value, of type @p type
136136 * @param[in] type Type of value expected, one of:
137137 * @parblock
138- * - \ c 'n' - \a value is type \a double
139- * - \ c 'i' - \a value is type \a int64_t
140- * - \ c 's' - \a value is type \a char* (maximum length is: \ c maxlength - 1)
141- * - \ c 'b' - \a value of type \a int (boolean value of 0 or 1)
138+ * - @ c 'n' - @p value is type @c double
139+ * - @ c 'i' - @p value is type @c int64_t
140+ * - @ c 's' - @p value is type @c char* (maximum length is: @ c maxlength - 1)
141+ * - @ c 'b' - @p value of type @c int (boolean value of 0 or 1)
142142 * @endparblock
143143 * @param[in] maxlength Maximum length of string value
144144 * @param[in] parsestate Parsed state for multiple operations, can be NULL
@@ -148,9 +148,9 @@ parse_json (char *jsonstring, size_t length, LM_PARSED_JSON *parsed)
148148 * @retval 2 when the value is of a different type
149149 * @returns A (negative) libmseed error code on error
150150 *
151- * \ ref MessageOnError - this function logs a message on error
151+ * @ ref MessageOnError - this function logs a message on error
152152 *
153- * \sa mseh_free_parsestate()
153+ * @see mseh_free_parsestate()
154154 ***************************************************************************/
155155int
156156mseh_get_ptr_r (const MS3Record * msr , const char * ptr , void * value , char type , uint32_t maxlength ,
@@ -273,45 +273,45 @@ mseh_get_ptr_r (const MS3Record *msr, const char *ptr, void *value, char type, u
273273 * @brief Set the value of extra header values
274274 *
275275 * The extra header value is specified as a JSON Pointer (RFC 6901), e.g.
276- * \ c '/objectA/objectB/header'.
276+ * @ c '/objectA/objectB/header'.
277277 *
278- * For most value types, if the \a ptr or final header values do not exist
278+ * For most value types, if the @p ptr or final header values do not exist
279279 * they will be created. If the header value exists it will be replaced.
280280 * When the value type is 'M', for Merge Patch (RFC 7386), the location
281- * indicated by \a ptr must exist.
281+ * indicated by @p ptr must exist.
282282 *
283- * The \a type value specifies the data type expected for \c value.
283+ * The @p type value specifies the data type expected for @p value.
284284 *
285- * If a \a parsestate pointer is supplied, the parsed (deserialized) JSON
285+ * If a @p parsestate pointer is supplied, the parsed (deserialized) JSON
286286 * data are stored here. This value may be used in subsequent calls to
287287 * avoid re-parsing the JSON. When done setting headers using this
288- * functionality the following \a must be done:
288+ * functionality the following @p must be done:
289289 * 1. call mseh_serialize() to create the JSON headers before writing the record
290- * 2. free the \a parsestate data with mseh_free_parsestate()
290+ * 2. free the @p parsestate data with mseh_free_parsestate()
291291 * If this value is NULL the parse state will be created and destroyed
292292 * on each call.
293293 *
294294 * @param[in] msr Parsed miniSEED record to modify
295295 * @param[in] ptr Header value to set as JSON Pointer, or JSON Merge Patch
296- * @param[in] value Buffer for value, of type \c type
296+ * @param[in] value Buffer for value, of type @p type
297297 * @param[in] type Type of value expected, one of:
298298 * @parblock
299- * - \ c 'n' - \a value is type \a double
300- * - \ c 'i' - \a value is type \a int64_t
301- * - \ c 's' - \a value is type \a char*
302- * - \ c 'b' - \a value is type \a int (boolean value of 0 or 1)
303- * - \ c 'M' - \a value is type \a char* and a Merge Patch to apply at \a ptr
304- * - \ c 'V' - \a value is type \a yyjson_mut_val* to _set/replace_ (internal use)
305- * - \ c 'A' - \a value is type \a yyjson_mut_val* to _append to array_ (internal use)
299+ * - @ c 'n' - @p value is type @c double
300+ * - @ c 'i' - @p value is type @c int64_t
301+ * - @ c 's' - @p value is type @c char*
302+ * - @ c 'b' - @p value is type @c int (boolean value of 0 or 1)
303+ * - @ c 'M' - @p value is type @c char* and a Merge Patch to apply at @p ptr
304+ * - @ c 'V' - @p value is type @c yyjson_mut_val* to _set/replace_ (internal use)
305+ * - @ c 'A' - @p value is type @c yyjson_mut_val* to _append to array_ (internal use)
306306 * @endparblock
307307 * @param[in] parsestate Parsed state for multiple operations, can be NULL
308308 *
309309 * @retval 0 on success, otherwise a (negative) libmseed error code.
310310 *
311- * \ ref MessageOnError - this function logs a message on error
311+ * @ ref MessageOnError - this function logs a message on error
312312 *
313- * \sa mseh_free_parsestate()
314- * \sa mseh_serialize()
313+ * @see mseh_free_parsestate()
314+ * @see mseh_serialize()
315315 ***************************************************************************/
316316int
317317mseh_set_ptr_r (MS3Record * msr , const char * ptr , void * value , char type ,
@@ -481,7 +481,7 @@ mseh_set_ptr_r (MS3Record *msr, const char *ptr, void *value, char type,
481481/** ************************************************************************
482482 * @brief Add event detection to the extra headers of the given record.
483483 *
484- * If \a ptr is NULL, the default is \ c '/FDSN/Event/Detection'.
484+ * If @p ptr is NULL, the default is @ c '/FDSN/Event/Detection'.
485485 *
486486 * @param[in] msr Parsed miniSEED record to query
487487 * @param[in] ptr Header value desired, specified in dot notation
@@ -490,7 +490,7 @@ mseh_set_ptr_r (MS3Record *msr, const char *ptr, void *value, char type,
490490 *
491491 * @returns 0 on success, otherwise a (negative) libmseed error code.
492492 *
493- * \ ref MessageOnError - this function logs a message on error
493+ * @ ref MessageOnError - this function logs a message on error
494494 ***************************************************************************/
495495int
496496mseh_add_event_detection_r (MS3Record * msr , const char * ptr , MSEHEventDetection * eventdetection ,
@@ -618,7 +618,7 @@ mseh_add_event_detection_r (MS3Record *msr, const char *ptr, MSEHEventDetection
618618/** ************************************************************************
619619 * @brief Add calibration to the extra headers of the given record.
620620 *
621- * If \a ptr is NULL, the default is \ c '/FDSN/Calibration/Sequence'.
621+ * If @p ptr is NULL, the default is @ c '/FDSN/Calibration/Sequence'.
622622 *
623623 * @param[in] msr Parsed miniSEED record to query
624624 * @param[in] ptr Header value desired, specified in dot notation
@@ -627,7 +627,7 @@ mseh_add_event_detection_r (MS3Record *msr, const char *ptr, MSEHEventDetection
627627 *
628628 * @returns 0 on success, otherwise a (negative) libmseed error code.
629629 *
630- * \ ref MessageOnError - this function logs a message on error
630+ * @ ref MessageOnError - this function logs a message on error
631631 ***************************************************************************/
632632int
633633mseh_add_calibration_r (MS3Record * msr , const char * ptr , MSEHCalibration * calibration ,
@@ -814,7 +814,7 @@ mseh_add_calibration_r (MS3Record *msr, const char *ptr, MSEHCalibration *calibr
814814/** ************************************************************************
815815 * @brief Add timing exception to the extra headers of the given record.
816816 *
817- * If \a ptr is NULL, the default is \ c '/FDSN/Time/Exception'.
817+ * If @p ptr is NULL, the default is @ c '/FDSN/Time/Exception'.
818818 *
819819 * @param[in] msr Parsed miniSEED record to query
820820 * @param[in] ptr Header value desired, specified in dot notation
@@ -823,7 +823,7 @@ mseh_add_calibration_r (MS3Record *msr, const char *ptr, MSEHCalibration *calibr
823823 *
824824 * @returns 0 on success, otherwise a (negative) libmseed error code.
825825 *
826- * \ ref MessageOnError - this function logs a message on error
826+ * @ ref MessageOnError - this function logs a message on error
827827 ***************************************************************************/
828828int
829829mseh_add_timing_exception_r (MS3Record * msr , const char * ptr , MSEHTimingException * exception ,
@@ -906,7 +906,7 @@ mseh_add_timing_exception_r (MS3Record *msr, const char *ptr, MSEHTimingExceptio
906906/** ************************************************************************
907907 * @brief Add recenter event to the extra headers of the given record.
908908 *
909- * If \a ptr is NULL, the default is \ c '/FDSN/Recenter/Sequence'.
909+ * If @p ptr is NULL, the default is @ c '/FDSN/Recenter/Sequence'.
910910 *
911911 * @param[in] msr Parsed miniSEED record to query
912912 * @param[in] ptr Header value desired, specified in dot notation
@@ -915,7 +915,7 @@ mseh_add_timing_exception_r (MS3Record *msr, const char *ptr, MSEHTimingExceptio
915915 *
916916 * @returns 0 on success, otherwise a (negative) libmseed error code.
917917 *
918- * \ ref MessageOnError - this function logs a message on error
918+ * @ ref MessageOnError - this function logs a message on error
919919 ***************************************************************************/
920920int
921921mseh_add_recenter_r (MS3Record * msr , const char * ptr , MSEHRecenter * recenter ,
@@ -997,11 +997,11 @@ mseh_add_recenter_r (MS3Record *msr, const char *ptr, MSEHRecenter *recenter,
997997 * created by mseh_set_ptr_r().
998998 *
999999 * @param[in] msr ::MS3Record to generate extra headers for
1000- * @param[in] parsestate Internal parsed state associated with \a msr
1000+ * @param[in] parsestate Internal parsed state associated with @p msr
10011001 *
10021002 * @returns Length of extra headers on success, otherwise a (negative) libmseed error code
10031003 *
1004- * \sa mseh_set_ptr_r()
1004+ * @see mseh_set_ptr_r()
10051005 ***************************************************************************/
10061006int
10071007mseh_serialize (MS3Record * msr , LM_PARSED_JSON * * parsestate )
@@ -1057,12 +1057,12 @@ mseh_serialize (MS3Record *msr, LM_PARSED_JSON **parsestate)
10571057 * @brief Free internally parsed (deserialized) JSON data
10581058 *
10591059 * Free the memory associated with JSON data parsed by mseh_get_ptr_r()
1060- * or mseh_set_ptr_r(), specifically the data at the \a parsestate pointer.
1060+ * or mseh_set_ptr_r(), specifically the data at the @p parsestate pointer.
10611061 *
1062- * @param[in] parsestate Internal parsed state associated with \a msr
1062+ * @param[in] parsestate Internal parsed state associated with @p msr
10631063 *
1064- * \sa mseh_get_ptr_r()
1065- * \sa mseh_set_ptr_r()
1064+ * @see mseh_get_ptr_r()
1065+ * @see mseh_set_ptr_r()
10661066 ***************************************************************************/
10671067void
10681068mseh_free_parsestate (LM_PARSED_JSON * * parsestate )
@@ -1089,15 +1089,15 @@ mseh_free_parsestate (LM_PARSED_JSON **parsestate)
10891089 * @brief Replace extra headers with supplied JSON
10901090 *
10911091 * Parse the supplied JSON string, re-serialize into compact form, and replace
1092- * the extra headers of \a msr with the result.
1092+ * the extra headers of @p msr with the result.
10931093 *
1094- * To _remove_ all of the extra headers, set \a jsonstring to NULL.
1094+ * To _remove_ all of the extra headers, set @p jsonstring to NULL.
10951095 *
10961096 * This function cannot be used in combination with the routines that use
10971097 * a parsed state, i.e. mseh_get_ptr_r() and mseh_set_ptr_r().
10981098 *
10991099 * @param[in] msr ::MS3Record to generate extra headers for
1100- * @param[in] jsonstring JSON replacment for extra headers of \a msr
1100+ * @param[in] jsonstring JSON replacment for extra headers of @p msr
11011101 *
11021102 * @returns Length of extra headers on success, otherwise a (negative) libmseed error code
11031103 ***************************************************************************/
0 commit comments