Skip to content

Commit

Permalink
Add deprecation notice for command_complete_callback API
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Apr 6, 2023
1 parent b157303 commit 35cd5ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/osdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,9 @@ void osdp_get_sc_status_mask(osdp_t *ctx, uint8_t *bitmask);
*/
void osdp_set_command_complete_callback(osdp_t *ctx,
osdp_command_complete_callback_t cb,
void *arg);
void *arg)
__attribute__((deprecated("Use of this API is discouraged. A future "
"version will remove it.")));

/**
* @brief OSDP File operations struct that needs to be filled by the CP/PD
Expand Down

0 comments on commit 35cd5ca

Please sign in to comment.