ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
mcp_policy_t Struct Reference

#include <src/mcp-server/mcp.h>

Data Fields

bool hosted
bool restricted
const char * address
const char * address6
const char * tls_cert
const char * tls_key
const char * tls_password
unsigned max_jobs
const char * origin
int port
char downloads_dir [PLATFORM_MAX_PATH_LENGTH]
const char * downloads_url_prefix

Detailed Description

Definition at line 35 of file mcp.h.

Field Documentation

◆ address

const char* mcp_policy_t::address

Definition at line 38 of file mcp.h.

Referenced by mcp_http_run().

◆ address6

const char* mcp_policy_t::address6

Definition at line 39 of file mcp.h.

Referenced by mcp_http_run().

◆ downloads_dir

char mcp_policy_t::downloads_dir[PLATFORM_MAX_PATH_LENGTH]

Definition at line 44 of file mcp.h.

Referenced by mcp_download_finalize(), mcp_request_parse(), and mcp_server_main().

◆ downloads_url_prefix

const char* mcp_policy_t::downloads_url_prefix

Definition at line 45 of file mcp.h.

Referenced by mcp_download_finalize(), and mcp_server_main().

◆ hosted

bool mcp_policy_t::hosted

◆ max_jobs

unsigned mcp_policy_t::max_jobs

Definition at line 41 of file mcp.h.

Referenced by mcp_dispatch(), mcp_http_run(), mcp_jobs_reap(), mcp_server_main(), and mcp_stdio_run().

◆ origin

const char* mcp_policy_t::origin

Definition at line 42 of file mcp.h.

◆ port

int mcp_policy_t::port

Definition at line 43 of file mcp.h.

Referenced by mcp_download_finalize(), and mcp_http_run().

◆ restricted

bool mcp_policy_t::restricted

Definition at line 37 of file mcp.h.

Referenced by mcp_dispatch(), mcp_request_parse(), mcp_server_main(), and mcp_tools_schema().

◆ tls_cert

const char* mcp_policy_t::tls_cert

Definition at line 40 of file mcp.h.

Referenced by mcp_download_finalize(), mcp_http_run(), and mcp_server_main().

◆ tls_key

const char * mcp_policy_t::tls_key

Definition at line 40 of file mcp.h.

Referenced by mcp_http_run(), and mcp_server_main().

◆ tls_password

const char * mcp_policy_t::tls_password

Definition at line 40 of file mcp.h.

Referenced by mcp_http_run().


The documentation for this struct was generated from the following file: