-static int __get_duplicated_ids_p(int **ids, int *count, const int limit, const int offset,
- const bp_history_offset order_column_offset, const int ordering,
- const bp_history_offset check_column_offset,
- const char *keyword, const int is_like)
-{
- bp_history_rows_cond_fmt conds;
- conds.limit = limit;
- conds.offset = offset;
- conds.ordering = ordering;
- conds.order_offset = order_column_offset;
- conds.period_offset = BP_HISTORY_O_DATE_CREATED;
- conds.period_type = BP_HISTORY_DATE_ALL;
-
- return bp_history_adaptor_get_cond_ids_p(ids, count, &conds, check_column_offset, keyword, is_like);
-}
-
-bool isDuplicate(const char* title)