mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-25 15:54:21 +00:00
replace sys/queue with cork_dllist
This commit is contained in:
+3
-2
@@ -23,8 +23,9 @@
|
||||
#ifndef _LOCAL_H
|
||||
#define _LOCAL_H
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <ev.h>
|
||||
#include <libcork/ds.h>
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "jconf.h"
|
||||
|
||||
@@ -60,7 +61,7 @@ struct server {
|
||||
struct listen_ctx *listener;
|
||||
struct remote *remote;
|
||||
|
||||
TAILQ_ENTRY(server) entries;
|
||||
struct cork_dllist_item entries;
|
||||
};
|
||||
|
||||
struct remote_ctx {
|
||||
|
||||
Reference in New Issue
Block a user