mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add flags to the application interface for marking if apps support no media mode. FSCORE-7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4400 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -595,6 +595,8 @@ struct switch_application_interface {
|
||||
const char *short_desc;
|
||||
/*! an example of the application syntax */
|
||||
const char *syntax;
|
||||
/*! flags to control behaviour */
|
||||
uint32_t flags;
|
||||
const struct switch_application_interface *next;
|
||||
};
|
||||
|
||||
@@ -606,7 +608,7 @@ struct switch_api_interface {
|
||||
const char *desc;
|
||||
/*! function the api call uses */
|
||||
switch_api_function_t function;
|
||||
/*! an example of the application syntax */
|
||||
/*! an example of the api syntax */
|
||||
const char *syntax;
|
||||
const struct switch_api_interface *next;
|
||||
};
|
||||
|
||||
@@ -531,6 +531,11 @@ typedef enum {
|
||||
} switch_frame_flag_t;
|
||||
|
||||
|
||||
typedef enum {
|
||||
SAF_NONE = 0,
|
||||
SAF_SUPPORT_NOMEDIA = (1 << 0)
|
||||
} switch_application_flag_t;
|
||||
|
||||
/*!
|
||||
\enum switch_signal_t
|
||||
\brief Signals to send to channels
|
||||
|
||||
Reference in New Issue
Block a user