Import a network file.
More...
#include <libxml/parser.h>
#include <limits.h>
#include <stdio.h>
#include "osurs/io.h"
#include "utils.h"
Import a network file.
- Date
- : 2022-10-01
- Author
- : Merlin Unterfinger
◆ import_network()
int import_network |
( |
Network * |
network, |
|
|
const char * |
filename |
|
) |
| |
Import a network to xml.
- Parameters
-
network | The empty network to import the content to. |
filename | The file to import. |
- Returns
- 1 if success, 0 if failure.
◆ import_reservations()
int import_reservations |
( |
Network * |
network, |
|
|
const char * |
filename |
|
) |
| |
Import reservations from xml.
- Parameters
-
network | The network to import the reservations content to. |
filename | The file to import. |
- Returns
- 1 if success, 0 if failure.