New upstream version 8.1.0

This commit is contained in:
geos_one
2025-08-10 01:34:16 +02:00
commit c891bb7105
4398 changed files with 838833 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
#ifndef NICADDRESSLIST_H_
#define NICADDRESSLIST_H_
#include <common/toolkit/list/PointerList.h>
#include <common/toolkit/list/PointerListIter.h>
#include <common/Common.h>
#include "NicAddress.h"
struct NicAddressList;
typedef struct NicAddressList NicAddressList;
static inline void NicAddressList_init(NicAddressList* this);
static inline void NicAddressList_uninit(NicAddressList* this);
static inline void NicAddressList_append(NicAddressList* this, NicAddress* nicAddress);
static inline size_t NicAddressList_length(NicAddressList* this);
extern bool NicAddressList_equals(NicAddressList* this, NicAddressList* other);
struct NicAddressList
{
struct PointerList pointerList;
};
void NicAddressList_init(NicAddressList* this)
{
PointerList_init( (PointerList*)this);
}
void NicAddressList_uninit(NicAddressList* this)
{
PointerList_uninit( (PointerList*)this);
}
void NicAddressList_append(NicAddressList* this, NicAddress* nicAddress)
{
PointerList_append( (PointerList*)this, nicAddress);
}
size_t NicAddressList_length(NicAddressList* this)
{
return PointerList_length( (PointerList*)this);
}
#endif /*NICADDRESSLIST_H_*/