osurs  0.0.1
Functions
destructor.c File Reference

Network destruction. More...

#include "osurs/network.h"
Include dependency graph for destructor.c:

Functions

void delete_network (Network *network)
 Delete a network. More...
 

Detailed Description

Network destruction.

Date
: 2022-07-12
Author
: Merlin Unterfinger

Function Documentation

◆ delete_network()

void delete_network ( Network network)

Delete a network.

All objects of the network are located on the heap and are directly or indirectly linked to the network structure. If the memory of the network is released all associated structures of the network are also cleared.

Parameters
networkThe network to delete and free.