clean up
This commit is contained in:
@@ -31,18 +31,17 @@ esp_err_t scryfall_client_start(void);
|
||||
esp_err_t scryfall_fetch_request(const char *card_name, const char *uid);
|
||||
|
||||
/**
|
||||
* @brief Synchronously ensure the card cache exists for uid; fetch if missing.
|
||||
* Safe to call from net_task only.
|
||||
*/
|
||||
esp_err_t scryfall_ensure_cached(const char *card_name, const char *uid);
|
||||
|
||||
/**
|
||||
* @brief True if net_task finished caching a card since last consumption.
|
||||
* @brief True if net_task finished a fetch attempt since last consumption.
|
||||
*/
|
||||
bool scryfall_has_pending_result(void);
|
||||
|
||||
/**
|
||||
* @brief UID of the most recently cached card.
|
||||
* @brief True if the last fetch succeeded, false if it failed.
|
||||
*/
|
||||
bool scryfall_last_result_success(void);
|
||||
|
||||
/**
|
||||
* @brief UID of the most recently fetched card.
|
||||
*/
|
||||
const char *scryfall_last_result_uid(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user