blob: 44361f7c7a60cdf953903115e4c1ce679daba276 [file] [log] [blame]
Harald Welteb68899d2009-01-06 21:47:18 +00001/* Paging helper and manager.... */
2/* (C) 2009 by Holger Hans Peter Freyther <zecke@selfish.org>
3 * All Rights Reserved
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 */
20
21#ifndef PAGING_H
22#define PAGING_H
23
24#include <malloc.h>
25#include <string.h>
26
27#include "linuxlist.h"
28#include "gsm_data.h"
29#include "gsm_subscriber.h"
Harald Welte38c2f132009-01-06 23:10:57 +000030#include "timer.h"
Harald Welteb68899d2009-01-06 21:47:18 +000031
Harald Welteb68899d2009-01-06 21:47:18 +000032/* call once for every gsm_bts... */
Holger Freytherceb59b72009-02-06 18:54:00 +000033void page_init(struct gsm_bts *bts);
Harald Welteb68899d2009-01-06 21:47:18 +000034
35/* schedule paging request */
Harald Welte38c2f132009-01-06 23:10:57 +000036void page_request(struct gsm_bts *bts, struct gsm_subscriber *subscr, int type);
Harald Welteb68899d2009-01-06 21:47:18 +000037
Harald Welte763da002009-02-06 12:52:14 +000038/* stop paging requests */
39void page_request_stop(struct gsm_bts *bts, struct gsm_subscriber *subscr);
40
Harald Welteb68899d2009-01-06 21:47:18 +000041#endif