fixed minor XCode documentation warnings

This commit is contained in:
Frank Morgner 2018-10-31 12:59:00 +01:00
parent e2b1fb81e0
commit 5c7b7bb0b1
5 changed files with 9 additions and 9 deletions

View File

@ -163,7 +163,7 @@ typedef list_hash_t (*element_hash_computer)(const void *el);
* @param serialize_buffer reference to fill with the length of the buffer
* @return reference to the buffer with the serialized data
*/
typedef void *(*element_serializer)(const void *simclist_restrict el, uint32_t *simclist_restrict serializ_len);
typedef void *(*element_serializer)(const void *simclist_restrict el, uint32_t *simclist_restrict serialize_buffer);
/**
* a function for un-serializing an element.

View File

@ -155,7 +155,7 @@ int sc_pkcs1_strip_digest_info_prefix(unsigned int *algorithm,
* @param inlen IN length of the input
* @param out OUT output buffer (in == out is allowed)
* @param outlen OUT length of the output buffer
* @param modlen IN length of the modulus in bytes
* @param mod_bits IN length of the modulus in bits
* @return SC_SUCCESS on success and an error code otherwise
*/
int sc_pkcs1_encode(sc_context_t *ctx, unsigned long flags,

View File

@ -93,7 +93,7 @@ void _sc_log(struct sc_context *ctx, const char *format, ...);
* @brief Log binary data
*
* @param[in] ctx Context for logging
* @param[in] type Debug level
* @param[in] level Debug level
* @param[in] file File name to be prepended
* @param[in] line Line to be prepended
* @param[in] func Function to be prepended

View File

@ -767,7 +767,7 @@ typedef struct sc_context {
* @param apdu sc_apdu_t object of the APDU to be send
* @return SC_SUCCESS on success and an error code otherwise
*/
int sc_transmit_apdu(struct sc_card *, struct sc_apdu *);
int sc_transmit_apdu(struct sc_card *card, struct sc_apdu *apdu);
void sc_format_apdu(struct sc_card *, struct sc_apdu *, int, int, int, int);
@ -1040,7 +1040,7 @@ size_t sc_get_max_recv_size(const sc_card_t *card);
* Takes card limitations into account such as extended length support as well
* as the reader's limitation for data transfer.
*
* @param card
* @param card card
*
* @return maximum Nc
*/
@ -1449,7 +1449,7 @@ extern sc_card_driver_t *sc_get_iso7816_driver(void);
/**
* @brief Read a complete EF by short file identifier.
*
* @param[in] card
* @param[in] card card
* @param[in] sfid Short file identifier
* @param[in,out] ef Where to safe the file. the buffer will be allocated
* using \c realloc() and should be set to NULL, if
@ -1464,7 +1464,7 @@ int iso7816_read_binary_sfid(sc_card_t *card, unsigned char sfid,
/**
* @brief Write a complete EF by short file identifier.
*
* @param[in] card
* @param[in] card card
* @param[in] sfid Short file identifier
* @param[in] ef Date to write
* @param[in] ef_len Length of \a ef
@ -1477,7 +1477,7 @@ int iso7816_write_binary_sfid(sc_card_t *card, unsigned char sfid,
/**
* @brief Set verification status of a specific PIN to not verified
*
* @param[in] card
* @param[in] card card
* @param[in] pin_reference PIN reference written to P2
*
* @note The appropriate directory must be selected before calling this function.

View File

@ -362,7 +362,7 @@ int sc_sm_single_transmit(struct sc_card *, struct sc_apdu *);
* Calls \a card->sm_ctx.ops.close() if available and \c card->sm_ctx.sm_mode
* is \c SM_MODE_TRANSMIT
*
* @param[in] card
* @param[in] card card
*
* @return \c SC_SUCCESS or error code if an error occurred
*/