19#ifndef _ASTERISK_STASIS_APP_MAILBOX_H
20#define _ASTERISK_STASIS_APP_MAILBOX_H
77 const char *
name,
int old_messages,
int new_messages);
Application convenience functions, designed to give consistent look and feel to Asterisk apps.
Stasis Application API. See Stasis Application API for detailed documentation.
enum stasis_mailbox_result stasis_app_mailbox_delete(const char *name)
Delete a mailbox controlled by ARI.
enum stasis_mailbox_result stasis_app_mailbox_to_json(const char *name, struct ast_json **json)
Convert mailbox to JSON.
int stasis_app_mailbox_update(const char *name, int old_messages, int new_messages)
Changes the state of a mailbox.
struct ast_json * stasis_app_mailboxes_to_json(void)
Convert mailboxes to json array.
Abstract JSON element (object, array, string, int, ...).