ce/cidbmain.c File Reference

Test for the tower cell ID database handling. More...

#include "cidb.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Defines

#define MAX_COORDS   100
 Maximum number of coordinates for one tower cell to show.

Functions

int main (int argc, char **argv)
 Main entry point for demonstration purposes.


Detailed Description

Test for the tower cell ID database handling.

Author:
Daniel Stoinski
Version:
$Revision$

Define Documentation

#define MAX_COORDS   100

Maximum number of coordinates for one tower cell to show.


Function Documentation

int main ( int  argc,
char **  argv 
)

Main entry point for demonstration purposes.

Command line parameters:

  1. create csvfile binfile, creates a binary database file from the input CSV file, format of the CSV file like in www.opencellid.org.
  2. read binfile ctryid netid areaid cellid, shows coordinates of the given cell in the given area, mobile network and country from the binary database file.

Parameters:
argc number of command line parameters.
argv the command line parameters.


Generated on Mon Jul 12 14:51:51 2010 for cetoys by  doxygen 1.5.6