util  wglist.h at [987a1aac03]

File wgsync/src/wglist.h artifact 3fe54f7b74 part of check-in 987a1aac03


#pragma once
#include "def.h"
#include <wireguard.h>

#define _ll_rec peer
#define _ll_box wg_device
#define _ll_obj wg_peer
#define _ll_iter wg_for_each_peer
#define _ll_ns wgd
#include "list.h"

#define _ll_rec allowedip
#define _ll_box wg_peer
#define _ll_obj wg_allowedip
#define _ll_iter wg_for_each_allowedip
#define _ll_ns wgd_peer
#include "list.h"