Add zblock_feed_info_count_channel()

This commit is contained in:
2024-11-24 21:26:19 -05:00
parent 0e01785913
commit 974aff7a09
2 changed files with 27 additions and 0 deletions

View File

@ -48,4 +48,7 @@ zblock_feed_info_err zblock_feed_info_delete(PGconn *conn, const char *url, u64s
// updates the last_pubDate field of a given feed in the database
zblock_feed_info_err zblock_feed_info_update(PGconn *conn, zblock_feed_info_minimal *feed);
// returns the number of feeds in a channel in count
zblock_feed_info_err zblock_feed_info_count_channel(PGconn *conn, u64snowflake channel_id, int64_t *count)
#endif