资源简介
基于海思3516v300编译的rtmpdump库文件以及源码,可以下载下来直接使用,其中还包括编译需要的openssl以及libz。
代码片段和文件信息
#include
#include
#include
#include
#define sk_Student_new(st) SKM_sk_new(Student (st))
#define sk_Student_new_null() SKM_sk_new_null(Student)
#define sk_Student_free(st) SKM_sk_free(Student (st))
#define sk_Student_num(st) SKM_sk_num(Student (st))
#define sk_Student_value(st i) SKM_sk_value(Student (st) (i))
#define sk_Student_set(st i val) SKM_sk_set(Student (st) (i) (val))
#define sk_Student_zero(st) SKM_sk_zero(Student (st))
#define sk_Student_push(st val) SKM_sk_push(Student (st) (val))
#define sk_Student_unshift(st val) SKM_sk_unshift(Student (st) (val))
#define sk_Student_find(st val) SKM_sk_find(Student (st) (val))
#define sk_Student_delete(st i) SKM_sk_delete(Student (st) (i))
#define sk_Student_delete_ptr(st ptr) SKM_sk_delete_ptr(Student (st) (ptr))
#define sk_Student_insert(st val i) SKM_sk_insert(Student (st) (val) (i))
#define sk_Student_set_cmp_func(st cmp) SKM_sk_set_cmp_func(Student (st) (cmp))
#define sk_Student_dup(st) SKM_sk_dup(Student st)
#define sk_Student_pop_free(st free_func) SKM_sk_pop_free(Student (st) (free_func))
#define sk_Student_shift(st) SKM_sk_shift(Student (st))
#define sk_Student_pop(st) SKM_sk_pop(Student (st))
#define sk_Student_sort(st) SKM_sk_sort(Student (st))
typedef struct Student_st
{
char *name;
int age;
char *otherInfo;
}Student;
typedef STACK_OF(Student) Students;
Student *Student_Malloc()
{
Student *a=malloc(sizeof(Student));
a->name=malloc(20);
strcpy(a->name“zcp“);
a->otherInfo=malloc(20);
strcpy(a->otherInfo“no info“);
return a;
}
void Student_Free(Student *a)
{
free(a->name);
free(a->otherInfo);
free(a);
}
static int Student_cmp(Student *aStudent *b)
{
int ret;
ret=strcmp(a->nameb->name);
return ret;
}
int main()
{
Students *s*snew;
Student *s1*one*s2;
int inum;
s=sk_Student_new_null();
snew=sk_Student_new(Student_cmp);
s2=Student_Malloc();
sk_Student_push(snews2);
i=sk_Student_find(snews2);
s1=Student_Malloc();
sk_Student_push(ss1);
num=sk_Student_num(s);
for(i=0;i {
one=sk_Student_value(si);
printf(“student name : %s\n“one->name);
printf(“sutdent age : %d\n“one->age);
printf(“student otherinfo : %s\n\n\n“one->otherInfo);
}
sk_Student_pop_free(sStudent_Free);
sk_Student_pop_free(snewStudent_Free);
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4303 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\bin\c_rehash
文件 3019598 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\bin\openssl
文件 2434 2018-04-19 23:21 openssl_zlib_rtmpdump\openssl\hello.c
文件 252606 2018-04-19 23:26 openssl_zlib_rtmpdump\openssl\hello.exe
文件 6146 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\aes.h
文件 63045 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\asn1.h
文件 34475 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\asn1t.h
文件 24435 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\asn1_mac.h
文件 38574 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\bio.h
文件 5351 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\blowfish.h
文件 42124 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\bn.h
文件 4974 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\buffer.h
文件 5565 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\camellia.h
文件 4659 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\cast.h
文件 3257 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\cmac.h
文件 25689 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\cms.h
文件 2395 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\comp.h
文件 11256 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\conf.h
文件 4147 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\conf_api.h
文件 27649 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\crypto.h
文件 11913 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\des.h
文件 21486 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\des_old.h
文件 11044 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\dh.h
文件 13476 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\dsa.h
文件 20210 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\dso.h
文件 8886 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\dtls1.h
文件 616 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\ebcdic.h
文件 51667 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\ec.h
文件 4937 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\ecdh.h
文件 10947 2018-04-20 09:55 openssl_zlib_rtmpdump\openssl\include\openssl\ecdsa.h
............此处省略1292个文件信息
- 上一篇:人工智能导论+人工智能基础扫描电子版.zip
- 下一篇:飞思卡尔电磁直立组代码
相关资源
- 官网gxt源码+API+
- 培训机构响应式网站源码
- ArcGIS Engine 10 开发手册(含源码)
- .net经典会员管理项目完整源码(包含
- hadoop权威指南第四版高清pdf+源码
- CSkin的案例源码,可用作参考
- 天龙八部全套源码控制台+lua脚本+测试
- sanhecrm客户关系管理系统源码
- cf自动开枪源码.e
- 飞机大战游戏,含源码,测试过,安
- 乡村旅游网站源码
- 将TS流文件发送到以太网络上源码
- 基于CSerialPort修改类的串口调试助手源
- 可同时搜索多个文件的多线程快速搜
- 基于OpenGL的3D赛车游戏的研究与实现源
- QT5.拼图游戏源码加可执行程序
- 最新微信朋友圈装逼神器源码 包含
- 30个小程序源码
- 微信小程序包你说红包完整源码带后
- 基于SSH的网上书店系统
- 周立功USBCANI通讯测试源码
- eshop商城源码+ssm
- 基于Arduino单片机的循迹型小车
- 机器学习Machine Learning in Action原版+中
- 网上书店毕业设计数据库+设计说明书
- ssh项目实战源码4
- OpenTLD-master VS213 OpenCV 3.0版本源码
- 学生信息管理系统2020年7月7日.zip
- Linux高性能服务器编程高清PDF+项目源
- 黑马商城源码.zip
评论
共有 条评论