![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
Functions to allow string based searching of EPG data. More...
#include <stdio.h>
#include <wchar.h>
#include <stdlib.h>
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "stbhwos.h"
#include "stbgc.h"
#include "stbdpc.h"
#include "stbsiflt.h"
#include "stbsitab.h"
#include "stbheap.h"
#include "stbuni.h"
#include "stbllist.h"
#include "app_nvm.h"
#include "ap_cfg.h"
#include "ap_dbacc.h"
#include "ap_epgsearch.h"
#include "dba.h"
Classes | |
struct | S_EPG_SEARCH |
Macros | |
#define | AGS_DBG(x) |
Functions | |
void * | AGS_OpenSearch (U8BIT *search_str, E_AGS_SEARCH_FIELDS search_fields, E_AGS_MATCH_TYPE match_type, E_AGS_SEARCH_DAYS search_days, S_AGS_TIME_RANGE *search_times, E_AGS_MATCH_ACTION match_action) |
Opens an EPG Search. More... | |
BOOLEAN | AGS_GetNextResult (void *ags_handle, U16BIT *event_id, void **serv_ptr) |
Gets the next matching result for an open search. More... | |
void | AGS_CloseSearch (void *ags_handle) |
Closes an open search and frees all associated resources. More... | |
Functions to allow string based searching of EPG data.
void AGS_CloseSearch | ( | void * | ags_handle | ) |
Closes an open search and frees all associated resources.
ags_handle | The handle of the open search |
BOOLEAN AGS_GetNextResult | ( | void * | ags_handle, |
U16BIT * | event_id, | ||
void ** | serv_ptr | ||
) |
Gets the next matching result for an open search.
ags_handle | The handle of the open search |
event_id | Caller's event id var to be set with matching result |
serv_ptr | Caller's service pointer to be set with matching result |
void* AGS_OpenSearch | ( | U8BIT * | search_str, |
E_AGS_SEARCH_FIELDS | search_fields, | ||
E_AGS_MATCH_TYPE | match_type, | ||
E_AGS_SEARCH_DAYS | search_days, | ||
S_AGS_TIME_RANGE * | search_times, | ||
E_AGS_MATCH_ACTION | match_action | ||
) |
Opens an EPG Search.
search_str | The search string to compare |
search_fields | The EPG parts to match |
match_type | The type of comparison to make on the string |
search_days | Which days of the week to search |
search_times | Time range in which to search (NULL for any) |
match_action | The action to perform on a search match |