Machine Learning Library
googleApi.h
Go to the documentation of this file.
1 #ifndef GOOGLEAPI_H
2 #define GOOGLEAPI_H
3 
4 #include "soapH.h"
5 #include <stdlib.h>
6 #include <string.h>
7 
8 //avoid linker-problems with namespace
9 //#ifndef NO_NAMESPACES
10 #include "googleapi.nsmap"
11 //#endif
12 
13 //Jens
14 #define KEY "gBZjV4BQFHLsnOnD72hRRtBI50aWolQA"
15 //Jörg//#define KEY "mfcRpBdQFHIdKlI3yvSnFHcwMqce1TpX" #define GOOGLEURL "http://api.google.com/search/beta2" #define GOOGLEACTION "urn:GoogleSearchAction" extern "C" { int doSearch(char* pcQuery, char*** pppcTitles, char*** pppcSnippets, char*** pppcURLs, int iMaxNumber); } #endif
16 //#define KEY "mfcRpBdQFHIdKlI3yvSnFHcwMqce1TpX"
17 #define GOOGLEURL "http://api.google.com/search/beta2"
18 #define GOOGLEACTION "urn:GoogleSearchAction"
19 
20 
21 
22 extern "C" {
23 
24  int doSearch(char* pcQuery, char*** pppcTitles, char*** pppcSnippets, char*** pppcURLs, int iMaxNumber);
25 
26 }
27 
28 #endif
int doSearch(char *pcQuery, char ***pppcTitles, char ***pppcSnippets, char ***pppcURLs, int iMaxNumber)