资源简介
mjpg-streamer-r63.tar.gz,基于网页监控设计
代码片段和文件信息
/*******************************************************************************
# #
# MJPG-streamer allows to stream JPG frames from an input-plugin #
# to several output plugins #
# #
# Copyright (C) 2007 Tom Stöveken #
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; version 2 of the License. #
# #
# This program is distributed in the hope that it will be useful #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not write to the Free Software #
# Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA #
# #
*******************************************************************************/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “utils.h“
#include “mjpg_streamer.h“
/* globals */
static globals global;
/******************************************************************************
Description.: Display a help message
Input Value.: argv[0] is the program name and the parameter progname
Return Value: -
******************************************************************************/
void help(char *progname)
{
fprintf(stderr “-----------------------------------------------------------------------\n“);
fprintf(stderr “Usage: %s\n“ \
“ -i | --input \“ [parameters]\“\n“ \
“ -o | --output \“ [parameters]\“\n“ \
“ [-h | --help ]........: display this help\n“ \
“ [-v | --version ].....: display version information\n“ \
“ [-b | --background]...: fork to the background daemon mode\n“ progname);
fprintf(stderr “----
- 上一篇:JS打地鼠小游戏源码
- 下一篇:wpa_cli.rar
评论
共有 条评论