Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_cookies.c File Reference
#include "nilorea/n_common.h"
#include "nilorea/n_cookies.h"
#include "nilorea/n_log.h"
#include "nilorea/n_str.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for ex_cookies.c:

Go to the source code of this file.

Functions

static int hdr_has (N_STR *h, const char *needle)
int main (int argc, char **argv)
void process_args (int argc, char **argv)

Variables

static int failures = 0

Function Documentation

◆ hdr_has()

int hdr_has ( N_STR * h,
const char * needle )
static
Examples
ex_cookies.c.

Definition at line 70 of file ex_cookies.c.

References N_STR::data.

Referenced by main().

Here is the caller graph for this function:

◆ main()

◆ process_args()

void process_args ( int argc,
char ** argv )

Definition at line 38 of file ex_cookies.c.

References LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_NULL, and set_log_level().

Here is the call graph for this function:

Variable Documentation

◆ failures

int failures = 0
static

Definition at line 35 of file ex_cookies.c.