mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-10 05:43:58 +00:00
Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.
Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
8 lines
451 B
C
8 lines
451 B
C
#include <stddef.h>
|
|
#include <shadowsocks.h>
|
|
/* Force the linker to resolve the complete embedding API and its dependencies
|
|
* without starting an unbounded event loop in this installation smoke test. */
|
|
static int (*volatile start)(profile_t) = start_ss_local_server;
|
|
static int (*volatile callback_start)(profile_t, ss_local_callback, void *) = start_ss_local_server_with_callback;
|
|
int main(void) { return start == NULL || callback_start == NULL; }
|