⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 client.h

📁 有关嵌入式的摄像头视频采集的论文
💻 H
字号:
/********************************************************************* * webcam_server                                                     * *                                                                   * * (c) 2002 Donn Morrison donn@donn.dyndns.org                       * *                                                                   * * code used from Gerd Knorr's xawtv (libng)                         * * - and -                                                           * * Cory Lueninghoener's gqcam                                        * *                                                                   * *    waits for connections from a viewer and sends                  * *    jpeg encoded captures as a live video feed                     * *                                                                   * *********************************************************************/#ifndef _CLIENT_H_INCLUDED_#define _CLIENT_H_INCLUDED_struct connection{	int socketfd;	struct sockaddr_in remote_addr;	u_long total_bytes;	u_long total_frames;	u_long id_last;	int old_images;	int client_type;		struct caminfo *cam;		time_t start;	time_t end;};int handle_connection(struct connection *con);int check_limits(struct caminfo *cam, struct connection *con);int get_client_type(struct caminfo *cam, char *buffer);int match_client_type(char *data, char *tag, char *version);/* ** currently not implementedint match_admin_password(char *buffer, char *password);int handle_admin_connection(struct caminfo *cam, struct connection *con, char *request);*/#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -