|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
A typesafe list of Connection objects. More...
#include <hicn/core/connection.h>

Go to the source code of this file.
Typedefs | |
| typedef struct connection_list | ConnectionList |
Functions | |
| ConnectionList * | connectionList_Create (void) |
| void | connectionList_Destroy (ConnectionList **listPtr) |
| void | connectionList_Append (ConnectionList *list, Connection *entry) |
| size_t | connectionList_Length (const ConnectionList *list) |
| Connection * | connectionList_Get (ConnectionList *list, size_t index) |
A typesafe list of Connection objects.
<#Detailed Description#>
| void connectionList_Append | ( | ConnectionList * | list, |
| Connection * | entry | ||
| ) |
@function connectionList_Append @abstract Adds a connection entry to the list. @discussion Acquires a reference to the passed entry and stores it in the list.
| ConnectionList* connectionList_Create | ( | void | ) |
Creates a lis of Connection
| void connectionList_Destroy | ( | ConnectionList ** | listPtr | ) |
Destroys the list and all objects inside it
| Connection* connectionList_Get | ( | ConnectionList * | list, |
| size_t | index | ||
| ) |
@function connectionList_Get @abstract Returns the connection entry. @discussion Caller must not destroy the returned value. If you will store the entry in your own data structure, you should acquire your own reference. Will assert if you go beyond the end of the list.
| size_t connectionList_Length | ( | const ConnectionList * | list | ) |
Returns the number of items on the list
| [in] | list | The allocated list to check |
1.8.17