PatchworkOS
Loading...
Searching...
No Matches
local_listen.c File Reference

Go to the source code of this file.

Functions

void local_listen_dir_init (void)
 Initialize the /net/local/listen/ directory.
 
local_listen_tlocal_listen_new (const char *address)
 Allocate and initialize a new local listener.
 
void local_listen_free (local_listen_t *listen)
 Free and deinitialize a local listener.
 
local_listen_tlocal_listen_find (const char *address)
 Find a local listener by its address.
 

Variables

static dentry_tlistenDir = NULL
 
static map_t listeners
 
static rwlock_t listenersLock
 

Variable Documentation

◆ listenDir

dentry_t* listenDir = NULL
static

Definition at line 16 of file local_listen.c.

Referenced by local_listen_dir_init(), and local_listen_new().

◆ listeners

map_t listeners
static

◆ listenersLock

rwlock_t listenersLock
static