📄 libgadu.h
字号:
/* $Id: libgadu.h 16856 2006-08-19 01:13:25Z evands $ *//* * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl> * Robert J. Wo糿y <speedy@ziew.org> * Arkadiusz Mi秌iewicz <arekm@pld-linux.org> * Tomasz Chili駍ki <chilek@chilan.com> * Piotr Wysocki <wysek@linux.bydg.org> * Dawid Jarosz <dawjar@poczta.onet.pl> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License Version * 2.1 as published by the Free Software Foundation. * * 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser 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. */#ifndef __GG_LIBGADU_H#define __GG_LIBGADU_H#ifdef __cplusplus#ifdef _MSC_VER#pragma pack(push, 1)#endifextern "C" {#endif#include <libgadu-config.h>#include <sys/types.h>#include <stdio.h>#include <stdarg.h>#ifdef __GG_LIBGADU_HAVE_OPENSSL#include <openssl/ssl.h>#endif/* * typedef uin_t * * typ reprezentuj眂y numer osoby. */typedef uint32_t uin_t;/* * og髄na struktura opisuj眂a r罂ne sesje. przydatna w klientach. */#define gg_common_head(x) \ int fd; /* podgl眃any deskryptor */ \ int check; /* sprawdzamy zapis czy odczyt */ \ int state; /* aktualny stan maszynki */ \ int error; /* kod b酬du dla GG_STATE_ERROR */ \ int type; /* rodzaj sesji */ \ int id; /* identyfikator */ \ int timeout; /* sugerowany timeout w sekundach */ \ int (*callback)(x*); /* callback przy zmianach */ \ void (*destroy)(x*); /* funkcja niszczenia */struct gg_common { gg_common_head(struct gg_common)};struct gg_image_queue;/* * struct gg_session * * struktura opisuj眂a dan
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -