cluster.h

来自「asterisk1.4.6版本下 7#信令驱动 源码」· C头文件 代码 · 共 35 行

H
35
字号
/* cluster.h - chan_ss7 clustering/redundancy
 *
 * Copyright (C) 2006, Sifira A/S.
 *
 * Author: Anders Baekgaard <ab@sifira.dk>
 *
 * This file is part of chan_ss7.
 *
 * chan_ss7 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; either version 2 of the License, or
 * (at your option) any later version.
 *
 * chan_ss7 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 chan_ss7; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */


extern int cluster_init(void (*isup_event_handler_callback)(struct mtp_event*),
			void (*isup_block_handler_callback)(struct link*));
extern void cluster_mtp_received(struct link* link, struct mtp_event*);
extern void cluster_mtp_sent(struct link* link, struct mtp_req*);
extern void cluster_mtp_forward(struct mtp_req*);
extern int cluster_receivers_alive(struct linkset*);
extern void cluster_cleanup(void);
extern int cmd_cluster_start(int fd, int argc, char *argv[]);
extern int cmd_cluster_stop(int fd, int argc, char *argv[]);
extern int cmd_cluster_status(int fd, int argc, char *argv[]);

⌨️ 快捷键说明

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