---
name: "eX_options.h"
section: "3"
platform: "linux"
package: "libexosip2-dev"
version: "4.1.0-2.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/eX_options.h"
---

# eX\_options.h(3)

eXosip options request API

## NAME

eX\_options.h - eXosip options request API

## SYNOPSIS

`#include <osipparser2/osip_parser.h>`\
 `#include <time.h>`\

### Functions

int **eXosip\_options\_build\_request** (struct eXosip\_t \*excontext, osip\_message\_t \*\*options, const char \*to, const char \*from, const char \*route)\
 int **eXosip\_options\_send\_request** (struct eXosip\_t \*excontext, osip\_message\_t \*options)\
 int **eXosip\_options\_build\_answer** (struct eXosip\_t \*excontext, int tid, int status, osip\_message\_t \*\*answer)\
 int **eXosip\_options\_send\_answer** (struct eXosip\_t \*excontext, int tid, int status, osip\_message\_t \*answer)\

## Detailed Description

eXosip options request API

This file provide the API needed to control OPTIONS requests. You can use it to:

- •

  build OPTIONS requests.

- •

  send OPTIONS requests.

- •

  build OPTIONS answers.

- •

  send OPTIONS answers.

## Author

Generated automatically by Doxygen for libeXosip2 from the source code.
