-
大小: 50KB文件类型: .gz金币: 1下载: 0 次发布日期: 2021-05-16
- 语言: 其他
- 标签: UltraVNC centos vnc vncrepeater
资源简介
UltraVNC Repeater centos 版本源代码,编译并配置后,可以直接运行,详情参考博文 https://blog.csdn.net/WTUDAN/article/details/100214799
代码片段和文件信息
/*
based upon libiniparser by Nicolas Devillard
Hacked into 1 file (m-iniparser) by Freek/2005
Original terms following:
-- -
Copyright (c) 2000 by Nicolas Devillard (ndevilla AT free DOT fr).
Written by Nicolas Devillard. Not derived from licensed software.
Permission is granted to anyone to use this software for any
purpose on any computer system and to redistribute it freely
subject to the following restrictions:
1. The author is not responsible for the consequences of use of
this software no matter how awful even if they arise
from defects in it.
2. The origin of this software must not be misrepresented either
by explicit claim or by omission.
3. Altered versions must be plainly marked as such and must not
be misrepresented as being the original software.
4. This notice may not be removed or altered.
*/
//Modified by Jari Korhonen/2005:
//-strcpy() -> strlcpy()
//-sprintf() -> snprintf()
//-removed strupc / strstrip (were not used)
#include
#include
#include
#include
#include “iniparser.h“
#include “openbsd_stringfuncs.h“
#ifdef __cplusplus
extern “C“ {
#endif
/* strlib.c following */
#define ASCIILINESZ 1024
/*-------------------------------------------------------------------------*/
/**
@brief Convert a string to lowercase.
@param s String to convert.
@return ptr to statically allocated string.
This function returns a pointer to a statically allocated string
containing a lowercased version of the input string. Do not free
or modify the returned string! Since the returned string is statically
allocated it will be modified at each function call (not re-entrant).
*/
/*--------------------------------------------------------------------------*/
static char * strlwc(char * s)
{
static char l[ASCIILINESZ+1];
int i ;
if (s==NULL) return NULL ;
memset(l 0 ASCIILINESZ+1);
i=0 ;
while (s[i] && i l[i] = (char)tolower((int)s[i]);
i++ ;
}
l[ASCIILINESZ]=(char)0;
return l ;
}
/*-------------------------------------------------------------------------*/
/**
@brief Skip blanks until the first non-blank character.
@param s String to parse.
@return Pointer to char inside given string.
This function returns a pointer to the first non-blank character in the
given string.
*/
/*--------------------------------------------------------------------------*/
static char * strskp(char * s)
{
char * skip = s;
if (s==NULL) return NULL ;
while (isspace((int)*skip) && *skip) skip++;
return skip ;
}
/*-------------------------------------------------------------------------*/
/**
@brief Remove blanks at the end of a string.
@param s String to parse.
@return ptr to statically allocated string.
This function returns a pointer to a statically allocated string
which is identical to the input string except that all blank
character
相关资源
- CentOS-7.3-x86_64.cfg
- CentOS-6.8-x86_64.cfg
- CentOS5到CentOS7镜像
- win7硬盘安装centos7.0全过程百分百成功
- centos-6.4-x86_64位百度云链接
- CentOS7.txt
- VirtualBox + Centos全屏设置
- 隐藏VNC托盘图标.reg
- vm虚拟机centos6.4百度云盘地址永久有效
- CentOS7虚拟机百度云分享含教程
- CentOS-7-x86_64.cfg
- CentOS-7-x86_64-DVD-1611.iso镜像
- CentOS 7下的软件安装方法及策略
- VMware8.0 与 Centos6.3
- linux x64 readline-devel-all 安装rpm介质
- 完整版CentOS-6.6-i386-bin-DVD1.iso,linux镜
- CentOS-6.6-i386-bin-DVD1.iso,linux镜像文件
- centos6一键部署zabbix3.2.4监控
- centos7 安装docker的三个包
- FastDFS一键安装脚本CentOS6.9
- vsftpd-3.0.2-27.el7.x86_64.rpm
- CentOS 7.4 拨号工具包
- Centos搭建EasyDarwin流媒体服务器
- Centos 搭建crtmpserver流媒体服务器
- centos 安装HTTP
- CentOS7.2 ISO百度网盘地址
- Centos7.1(1503)国内镜像地址.txt
- hadoop伪分布式搭建centos6.5+hadoop2.7
- jumpserver安装 CENTOS 7
- redhat6.5镜像地址,openstack专用,qcow
评论
共有 条评论