summaryrefslogtreecommitdiffstats
path: root/tests/e1inp_hsl_bts_test.c
Commit message (Collapse)AuthorAgeFilesLines
* e1_input: rework configuration of virtual E1 line operationsPablo Neira Ayuso2011-08-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | struct e1inp_line_ops { - enum e1inp_line_role role; - char *addr; - void *data; + union { + struct { + enum e1inp_line_role role; /* BSC or BTS mode. */ + const char *addr; /* IP address .*/ + void *dev; /* device parameters. */ + } ipa; + struct { + const char *port; /* e.g. /dev/ttyUSB0 */ + unsigned int delay; + } rs232; + } cfg; Now this structure contains the configuration details for the virtual E1 line, instead of using a pointer. This also get the line_update callback to its original layout: + int (*line_update)(struct e1inp_line *line);
* talloc: revert to use talloc inside libosmocoreHarald Welte2011-07-181-1/+1
| | | | | | It's not a good idea to confuse the two changes with each other. Moving the Abis part into a separate library is independent from the question whether we have talloc inside libosmocore or use a stand-alone talloc library.
* tests: add missing hsl examplesPablo Neira Ayuso2011-07-081-0/+274
Hm, it seems I forgot to git add them :-(.