资源简介
使用libcurl实现报警,从微信公众号推送消息到粉丝微信账号。
代码片段和文件信息
/*
* Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the “License“). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
#define APPlink_STDIN 1
#define APPlink_STDOUT 2
#define APPlink_STDERR 3
#define APPlink_FPRINTF 4
#define APPlink_FGETS 5
#define APPlink_FREAD 6
#define APPlink_FWRITE 7
#define APPlink_FSETMOD 8
#define APPlink_FEOF 9
#define APPlink_FCLOSE 10 /* should not be used */
#define APPlink_FOPEN 11 /* solely for completeness */
#define APPlink_FSEEK 12
#define APPlink_FTELL 13
#define APPlink_FFLUSH 14
#define APPlink_FERROR 15
#define APPlink_CLEARERR 16
#define APPlink_FILENO 17 /* to be used with below */
#define APPlink_OPEN 18 /* formally can‘t be used as flags can vary */
#define APPlink_READ 19
#define APPlink_WRITE 20
#define APPlink_LSEEK 21
#define APPlink_CLOSE 22
#define APPlink_MAX 22 /* always same as last macro */
#ifndef APPMACROS_ONLY
# include
# include
# include
static void *app_stdin(void)
{
return stdin;
}
static void *app_stdout(void)
{
return stdout;
}
static void *app_stderr(void)
{
return stderr;
}
static int app_feof(FILE *fp)
{
return feof(fp);
}
static int app_ferror(FILE *fp)
{
return ferror(fp);
}
static void app_clearerr(FILE *fp)
{
clearerr(fp);
}
static int app_fileno(FILE *fp)
{
return _fileno(fp);
}
static int app_fsetmod(FILE *fp char mod)
{
return _setmode(_fileno(fp) mod == ‘b‘ ? _O_BINARY : _O_TEXT);
}
#ifdef __cplusplus
extern “C“ {
#endif
__declspec(dllexport)
void **
# if defined(__BORLANDC__)
/*
* __stdcall appears to be the only way to get the name
* decoration right with Borland C. Otherwise it works
* purely incidentally as we pass no parameters.
*/
__stdcall
# else
__cdecl
# endif
OPENSSL_Applink(void)
{
static int once = 1;
static void *OPENSSL_ApplinkTable[APPlink_MAX + 1] =
{ (void *)APPlink_MAX };
if (once) {
OPENSSL_ApplinkTable[APPlink_STDIN] = app_stdin;
OPENSSL_ApplinkTable[APPlink_STDOUT] = app_stdout;
OPENSSL_ApplinkTable[APPlink_STDERR] = app_stderr;
OPENSSL_ApplinkTable[APPlink_FPRINTF] = fprintf;
OPENSSL_ApplinkTable[APPlink_FGETS] = fgets;
OPENSSL_ApplinkTable[APPlink_FREAD] = fread;
OPENSSL_ApplinkTable[APPlink_FWRITE] = fwrite;
OPENSSL_ApplinkTable[APPlink_FSETMOD] = app_fsetmod;
OPENSSL_ApplinkTable[APPlink_FEOF] = app_feof;
OPENSSL_ApplinkTable[APPlink_FCLOSE] = fclose;
OPENSSL_ApplinkTable[APPlink_FOPEN] = fopen;
OPENSSL_ApplinkTable[APPlink_FSEEK] = fseek;
OPENSSL_ApplinkTable[APPlink_FTELL] = ftell;
OPENSSL_ApplinkTable[APPlink_FFLUSH] = fflush;
OPENSSL_ApplinkTable[APPlink_ 属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2093568 2017-11-30 15:11 tests\3rdparty\bin\libcrypto-1_1.dll
文件 8359936 2017-11-30 15:11 tests\3rdparty\bin\libcrypto-1_1.pdb
文件 686080 2017-11-30 15:17 tests\3rdparty\bin\libcurl-d.dll
文件 2437120 2017-11-30 15:17 tests\3rdparty\bin\libcurl-d.pdb
文件 335872 2017-11-30 18:33 tests\3rdparty\bin\libcurl.dll
文件 374272 2017-11-30 15:11 tests\3rdparty\bin\libssl-1_1.dll
文件 1634304 2017-11-30 15:11 tests\3rdparty\bin\libssl-1_1.pdb
文件 101966 2017-11-27 20:50 tests\3rdparty\include\curl\curl.h
文件 3034 2017-11-29 17:28 tests\3rdparty\include\curl\curlver.h
文件 3473 2017-11-10 06:40 tests\3rdparty\include\curl\easy.h
文件 1357 2017-11-10 06:40 tests\3rdparty\include\curl\Makefile.am
文件 21277 2017-11-28 23:13 tests\3rdparty\include\curl\Makefile.in
文件 2071 2017-11-10 06:40 tests\3rdparty\include\curl\mprintf.h
文件 16094 2017-11-10 06:40 tests\3rdparty\include\curl\multi.h
文件 1329 2017-11-10 06:40 tests\3rdparty\include\curl\stdcheaders.h
文件 17529 2017-11-10 06:40 tests\3rdparty\include\curl\system.h
文件 42492 2017-11-10 06:40 tests\3rdparty\include\curl\typecheck-gcc.h
文件 3349 2017-11-30 15:11 tests\3rdparty\include\openssl\aes.h
文件 3508 2017-11-30 15:11 tests\3rdparty\include\openssl\appli
文件 46411 2017-11-30 15:11 tests\3rdparty\include\openssl\asn1.h
文件 32502 2017-11-30 15:11 tests\3rdparty\include\openssl\asn1t.h
文件 395 2017-11-30 15:11 tests\3rdparty\include\openssl\asn1_mac.h
文件 3292 2017-11-30 15:11 tests\3rdparty\include\openssl\async.h
文件 37711 2017-11-30 15:11 tests\3rdparty\include\openssl\bio.h
文件 1847 2017-11-30 15:11 tests\3rdparty\include\openssl\blowfish.h
文件 24932 2017-11-30 15:11 tests\3rdparty\include\openssl\bn.h
文件 2055 2017-11-30 15:11 tests\3rdparty\include\openssl\buffer.h
文件 3179 2017-11-30 15:11 tests\3rdparty\include\openssl\camellia.h
文件 1674 2017-11-30 15:11 tests\3rdparty\include\openssl\cast.h
文件 1064 2017-11-30 15:11 tests\3rdparty\include\openssl\cmac.h
............此处省略89个文件信息
- 上一篇:模拟电子技术基础课后答案
- 下一篇:基于msp430的热量表设计
相关资源
- ALIENTEK战舰STM32F1 V3开发板原理图.rar
- solidworks常用技巧
- Power Electronic Converters Modeling and Contr
-
fli
nk核心源码(追源索骥:透过源码 - ModelGoon-4.4.1-site.zip
- 信号奇异点Lipschitz指数计算
- Rational Rose Common破解文件
- CCS中如何生成LIB文件-并在另外CCS项目
- CCS5.05.1可使用的license
-
AN_BLE-SDKDH-C1_Teli
nk BLE SDK DeveloperHan - The direction of synaptic plasticity mediated
- Apolipoprotein E4 Impairs in vivo Hippocampal
- 开源电调BLHeli硬件PCB 4层板 2.5cm宽
- Lenovo Z460 SLIC2.1 LENOVO-29CN38WW(V2.15)
- Fabrication and all-optical poling characteris
- Xilinx-FPGA-引脚功能详细介绍.doc
- 基于xilinx FPGA的PCIe设计实战
-
imx6qSBP的jli
nk初始化脚本 - uboot到linux logo显示不间断 补丁
- ISE_14.7_license.lic
- Uninstall_Cortana_WINCLIENT.CN.rar
- UNIX/LINUX编程实践教程的源码
- Linux任务管理器
- linux应用层的华容道游戏源代码
- 基于MFC扩展CListCtrl子项显示图片并叠
- VMware65_SLP_DeLLSLIC2.1
- 向SysListView32里的某一行发送双击消息
- silicon lab公司的收音IC SI47XX全套开发工
- 加密cad图形的lisp文件
- Auto CAD_LISP程序集
川公网安备 51152502000135号
评论
共有 条评论