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

📄 cache.h

📁 linux下的dvb收看解析软件代码; 带参考程序
💻 H
字号:
/* Copyright (C) 2006  Adam CharrettThis program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USAcache.hCaches service and PID information from the database for the current multiplex.*/#ifndef _CACHE_H#define _CACHE_H#include "ts.h"#include "multiplexes.h"#include "services.h"int CacheInit();void CacheDeInit();int CacheLoad(Multiplex_t *multiplex);void CacheWriteback();Service_t *CacheServiceFindId(int id);Service_t *CacheServiceFindName(char *name, Multiplex_t **multiplex);Service_t **CacheServicesGet(int *count);PID_t *CachePIDsGet(Service_t *service, int *count);void CacheUpdateMultiplex(Multiplex_t *multiplex, int patversion, int tsid);void CacheUpdateService(Service_t *service, int pmtpid);void CacheUpdateServiceName(Service_t *service, char *name);void CacheUpdatePIDs(Service_t *service, PID_t *pids, int count, int pmtversion);Service_t *CacheServiceAdd(int id);void CacheServiceDelete(Service_t *service);#endif

⌨️ 快捷键说明

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