No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Info.plist
LICENSE
Makefile.in
README.md
VERSION
aclocal.m4
config.guess
config.sub
configure
configure.in
db.php-example
generate_source_from_db.php
install-sh
make_framework.sh
operatordb.c
operatordb.h
operatordb.pc
operatordb.php
ts25.sql

README.md

Operatordb

This is a very simple library to get from IMSI to mobile operator information. The source is generated out of a database of mobile operators and is organized in a digit tree for high speed translation.

There is only one C function get_operator_from_imsi doing all the work.

./configure

make

make install

will build it normally

if you want to modify the database and regenerate it, do the following:

  1. create a mysqldb and import the ts25.sql database in it

  2. copy dp.php-example to db.php and edit it accordingly

  3. type:

    make generate

    make

    make install

this will regenerate the operatordb.c out of the database and recompile it.