59 lines
1.3 KiB
C
59 lines
1.3 KiB
C
/* Test Osmocom Authentication Protocol */
|
|
/*
|
|
* (C) 2015 by sysmocom s.f.m.c. GmbH
|
|
* All Rights Reserved
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation; either version 3 of 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 of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#include <osmocom/core/application.h>
|
|
|
|
#include <openbsc/debug.h>
|
|
|
|
#include <openbsc/oap.h>
|
|
#include <openbsc/oap_messages.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
static void test_oap(void)
|
|
{
|
|
printf("not implemented\n");
|
|
}
|
|
|
|
static struct log_info_cat gprs_categories[] = {
|
|
[DGPRS] = {
|
|
.name = "DGPRS",
|
|
.description = "GPRS Packet Service",
|
|
.enabled = 1, .loglevel = LOGL_DEBUG,
|
|
},
|
|
};
|
|
|
|
static struct log_info info = {
|
|
.cat = gprs_categories,
|
|
.num_cat = ARRAY_SIZE(gprs_categories),
|
|
};
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
osmo_init_logging(&info);
|
|
|
|
test_oap();
|
|
printf("Done\n");
|
|
|
|
return 0;
|
|
}
|
|
|