Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
icallimits.c File Reference

Implements the interface for getting/setting internal library limits. More...

Go to the source code of this file.

Functions

size_t icallimit_get (icallimits_kind kind)
void icallimit_set (icallimits_kind kind, size_t limit)

Detailed Description

Implements the interface for getting/setting internal library limits.

Definition in file icallimits.c.

Function Documentation

◆ icallimit_get()

size_t icallimit_get ( icallimits_kind kind)

Gets the value for the corresponding internal library limit.

Parameters
kindis the icallimits_kind of limit to get.
Returns
The current value of the specified kind"

Definition at line 29 of file icallimits.c.

◆ icallimit_set()

void icallimit_set ( icallimits_kind kind,
size_t limit )

Sets the value for the corresponding internal library limit.

Parameters
kindis the icallimits_kind of limit to set.
limitis the limit value. Use SIZE_MAX (i.e. maximum value of size_t) to set an unlimited value.

Definition at line 58 of file icallimits.c.