快速业务通道

Google朴沫人薩極API for C/C++

作者 佚名技术 来源 程序设计 浏览 发布时间 2012-06-30

Google 利嫋貧戻工阻goole search client api for Java才for dot.net議井云,寄社辛參歌深.

For C/C++議井云蒙泣泌和

坪崔XML盾裂匂.

坪崔gbk/utf-8園鷹/盾鷹匂(淫根GBK園鷹燕)

寡喘Pure C園亟,寡喘炎彈C俊笥.

屶隔http旗尖.

喘薩俶勣壓http://api.google.com/createkey賦萩key

處幣殻會嶄議key頁匯倖利嗔公厘議,叙工霞編喘?處幣殻會嶄議旗尖辛嬬銭俊音貧,喇噐短嗤譜崔階扮,辛嬬侃噐吉棋彜蓑(sorry.....)

痕方嶄光倖歌方議吭吶才http://www.google.com/apis/reference.html議傍苧匯劔,斤緩音恬狛謹議初府.

秀咏壓緩児粥貧蝕窟屈肝哘喘,泌撃廾撹COM,徽音誼斤恬宀戻工議api序佩郡園咎.

泌俶廬墮,萩廣苧圻恬宀,仍仍栽恬.散哭住送.

痕方俊笥

/************************************************************************/
      /*google search client api for c/c++*/
      /*By littlestar,2003,TRS Open Lab*/
/************************************************************************/
//go http://www.google.com/apis/reference.html for more information
/*start primitive data types*/
#ifdef _SOAP_TYPES
typedef char * xsd__string;
typedef int xsd__int;
struct xsd__base64Binary
{
  unsigned char *__ptr;
  int __size;
};
typedef bool xsd__boolean;
typedef double xsd__double;
/*end primitive data types*/
struct DirectoryCategoryArray
{
  struct typens__DirectoryCategory * __ptr;
  int __size;
  int __offset;
};
struct typens__ResultElement
{
  xsd__string summary;
  xsd__string URL;
  xsd__string snippet;
  xsd__string title;
  xsd__string cachedSize;
  xsd__boolean relatedInformationPresent;
  xsd__string hostName;
  struct typens__DirectoryCategory * directoryCategory;
  xsd__string directoryTitle;
};
struct typens__doGoogleSearchResponse
{
  struct typens__GoogleSearchResult * _return_;
};
struct typens__DirectoryCategory
{
  xsd__string fullViewableName;
  xsd__string specialEncoding;
};
struct typens__GoogleSearchResult
{
  xsd__boolean documentFiltering;
  xsd__string searchComments;
  xsd__int estimatedTotalResultsCount;
  xsd__boolean estimateIsExact;
  struct ResultElementArray * resultElements;
  xsd__string searchQuery;
  xsd__int startIndex;
  xsd__int endIndex;
  xsd__string searchTips;
  struct DirectoryCategoryArray * directoryCategories;
  xsd__double searchTime;
};
struct ResultElementArray
{
  struct typens__ResultElement * __ptr;
  int __size;
  int __offset;
};
struct typens__doSpellingSuggestionResponse
{
  xsd__string _return_;
};
struct typens__doGetCachedPageResponse
{
  struct xsd__base64Binary * _return_;
};
#endif
//秀羨Soap銭俊
extern "C" int _stdcall CreateSoapSession(void **SoapSessionHandle,char
*strServerAdd,char *key);
//譜崔旗尖捲暦匂,屶隔http旗尖.
extern "C" int _stdcall SetSoapProxy(void *SoapSessionHandle,char
*strProxyHost,int ProxyPort);
//匈中殊沫
extern "C" int _stdcall doGoogleSearch(void *SoapSessionHandle, xsd__string
q, xsd__int start, xsd__int maxResults, xsd__boolean filter,
xsd__string restrict_, xsd__boolean safeSearch, xsd__string lr,
xsd__string ie, xsd__string oe, struct typens__doGoogleSearchResponse *
out);
//函誼

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号