Interfaces to a variety of public-domain Web services such as those from Google and XMethods.
Public calls: growl_googleSearch
Public modules: libgrowl.a
Other modules required: libbase.a, gSOAP v2.1.4
Origin: Hand-Knitted Software, R.J. Allan, CCLRC Daresbury Laboratory
Conditions on external use: Standard, see separate chapter
Workspace: internal workspace is allocated in all these routines by the gSOAP system for the long return string. This should be freed by the user when it is no longer required.
Use of globals: none
Other routines called directly: none
Input/ output: none
This package provides access to a range of public-domain Web services such as those from Google and XMethods.
[frame=single] int growl_googleSearch(char *key, char *searchString, char **response);
On entry: your personal key for Google Web service API, obtained by registering with Google via http://api.google.com. Permits up to 100 searches per day.
On entry: text string identical to what would be typed in to Google search form interface.
On exit: response string (tbd).
Control and Information
Information returned to the User
Integer, 0=success, !0=failure.
Errors and Warnings
SOAP error message if there is a problem.
Put the example code here. Should also be provided as part of the distribution.
[frame=single] Part of code listing
Output dataRob Allan 2009-11-10