Neels Hofmeyr | f06046b | 2015-10-12 11:57:35 +0200 | [diff] [blame^] | 1 | /* Test Osmocom Authentication Protocol */ |
| 2 | /* |
| 3 | * (C) 2015 by sysmocom s.f.m.c. GmbH |
| 4 | * All Rights Reserved |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU Affero General Public License as published by |
| 8 | * the Free Software Foundation; either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU Affero General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Affero General Public License |
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | #include <osmocom/core/application.h> |
| 22 | |
| 23 | #include <openbsc/debug.h> |
| 24 | |
| 25 | #include <openbsc/oap.h> |
| 26 | #include <openbsc/oap_messages.h> |
| 27 | |
| 28 | #include <stdio.h> |
| 29 | |
| 30 | |
| 31 | static void test_oap(void) |
| 32 | { |
| 33 | printf("not implemented\n"); |
| 34 | } |
| 35 | |
| 36 | static struct log_info_cat gprs_categories[] = { |
| 37 | [DGPRS] = { |
| 38 | .name = "DGPRS", |
| 39 | .description = "GPRS Packet Service", |
| 40 | .enabled = 1, .loglevel = LOGL_DEBUG, |
| 41 | }, |
| 42 | }; |
| 43 | |
| 44 | static struct log_info info = { |
| 45 | .cat = gprs_categories, |
| 46 | .num_cat = ARRAY_SIZE(gprs_categories), |
| 47 | }; |
| 48 | |
| 49 | int main(int argc, char **argv) |
| 50 | { |
| 51 | osmo_init_logging(&info); |
| 52 | |
| 53 | test_oap(); |
| 54 | printf("Done\n"); |
| 55 | |
| 56 | return 0; |
| 57 | } |
| 58 | |