catalinux / Conn (public) (License: LGPLv2) (since 2016-03-01) (hash sha1)
Net library for easy building ipv4/ipv6 network daemons/clients

/Conn_config.h.in (662c3f3fe8d0a3d23770631d7a0a260719d81e62) (747 bytes) (mode 100644) (type blob)

/*
 *
 * Atention! Conn_config.h file is not editable! Edit Conn_config.h.in instead!
 *
 */

#define CONN_VERSION "@VER@"
#define POLL_FOUND @POLL_FOUND@
#define EPOLL_FOUND @EPOLL_FOUND@

#define _GNU_SOURCE


/*
 * How many events slots to expect from kernel in one epoll_wait call
 */
#define CONN_EVENTS_SLOTS	256

/*
 * How many Conn structures to allocate once
 */
#define CONN_BULK_ALLOC		256

#if GCC_VERSION >= 40300
#define __hot		__attribute__((__hot__))
#define __cold		__attribute__((__cold__))
#else
#define __hot
#define __cold
#endif

/* Stolen from Linux kernel */
#define likely(x)	(__builtin_constant_p(x) ? !!(x) : __builtin_expect(!!(x), 1))
#define unlikely(x)	(__builtin_constant_p(x) ? !!(x) : __builtin_expect(!!(x), 0))


Mode Type Size Ref File
100644 blob 112 3a048942198455b0035de36927f4655a76284dc6 .exclude
100644 blob 94 2e97920b91646e1a8c2438ca375e2aaae22793fb .gitignore
100644 blob 169 c003c095218f64ad33aeb89987f61eb575557d96 .mailmap
100644 blob 1945 fecf0e7a7e8580485101a179685aedc7e00affbb Changelog.pre109
100644 blob 85381 f1e72cb5282868b14553381899e84250ab0d80ce Conn.c
100644 blob 5314 5ea7425b4a2b6cd68d6bcabfe25c23a4ceff6b6c Conn.h
100644 blob 860 30db00511f3bdee57aea7c5cfbf628a82b89d5db Conn.spec.in
100644 blob 747 662c3f3fe8d0a3d23770631d7a0a260719d81e62 Conn_config.h.in
100644 blob 30 d987fa5df957830331139935d517009e2911b0cf INSTALL
100644 blob 25275 92b8903ff3fea7f49ef5c041b67a087bca21c5ec LICENSE
100644 blob 1340 d52f32b2778712dd13038f390b2f4321473de673 Makefile.in
100644 blob 192 5b11bdfb23857d8588845465aef993b320596b44 README
100644 blob 17095 98bc46993d3191b70bde26e2baec4a96328d131a TODO
100755 blob 30 92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 configure
040000 tree - d4c9c4a69c5cfa2a84316967185f1661b6817779 docs
100755 blob 13704 87c4881d7f32f8179d29d86ee17ddbe0f6254c57 duilder
100644 blob 381 47868bb84597a47ce487a62d22819d57666c861c duilder.conf
040000 tree - 2ae1ba40f0684de17690de8caccfeb24a964ad1d examples
040000 tree - cc405c053275900a4395d05041eb8e6decae0647 tests
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/Conn

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/Conn

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/Conn

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main