libglyr Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <glyr/testing.h> GlyrMemCache * glyr_testing_call_parser (const char *provider_name
,GLYR_GET_TYPE type
,GlyrQuery *query
,GlyrMemCache *cache
); const char * glyr_testing_call_url (const char *provider_name
,GLYR_GET_TYPE type
,GlyrQuery *query
);
A bunch for function that are not meant for general use. They are merely for developers that want to have automated tests for their providers.
GlyrMemCache * glyr_testing_call_parser (const char *provider_name
,GLYR_GET_TYPE type
,GlyrQuery *query
,GlyrMemCache *cache
);
Call a certain parser. Example: ("google",GLYR_GET_COVERART,&query,pagesource_cache); This is meant for testing purpose only.
|
Which provider to ask |
|
What type the provider belongs to |
|
What exactly to search for |
|
Parseable Input to the parser (e.g. a HTML-page) |
Returns : |
A list of more or less finished items. |
const char * glyr_testing_call_url (const char *provider_name
,GLYR_GET_TYPE type
,GlyrQuery *query
);
Call a provider's url-builder function and deliver it's result This is meant for testing purpose only.
|
Which provider to ask |
|
What type the provider belongs to |
|
What exactly to search for |
Returns : |
The URL that the provider would want to download |