media/webrtc/signaling/src/sipcc/include/ccapi_feature_info.h

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #ifndef _CCAPIAPI_FEATURE_INFO_H_
     6 #define _CCAPIAPI_FEATURE_INFO_H_
     8 #include "ccapi_types.h"
    11 /**
    12  * Get the physical button number on which this feature is configured
    13  * @param feature - feature reference handle
    14  * @return cc_int32_t - button assgn to the feature
    15  */
    16 cc_int32_t CCAPI_featureInfo_getButton(cc_featureinfo_ref_t feature);
    18 /**
    19  * Get the featureID
    20  * @param feature - feature reference handle
    21  * @return cc_int32_t - button assgn to the feature
    22  */
    23 cc_int32_t CCAPI_featureInfo_getFeatureID(cc_featureinfo_ref_t feature);
    24 /**
    25  * Get the feature Name
    26  * @param feature - feature reference handle
    27  * @return cc_string_t - handle of the feature created
    28  */
    29 cc_string_t CCAPI_featureInfo_getDisplayName(cc_featureinfo_ref_t feature);
    31 /**
    32  * Get the speeddial Number
    33  * @param feature - feature reference handle
    34  * @return cc_string_t - handle of the feature created
    35  */
    36 cc_string_t CCAPI_featureInfo_getSpeedDialNumber(cc_featureinfo_ref_t feature);
    38 /**
    39  * Get the contact
    40  * @param feature - feature reference handle
    41  * @return cc_string_t - handle of the feature created
    42  */
    43 cc_string_t CCAPI_featureInfo_getContact(cc_featureinfo_ref_t feature);
    45 /**
    46  * Get the retrieval prefix
    47  * @param feature - feature reference handle
    48  * @return cc_string_t - handle of the feature created
    49  */
    50 cc_string_t CCAPI_featureInfo_getRetrievalPrefix(cc_featureinfo_ref_t feature);
    52 /**
    53  * Get BLF state
    54  * @param feature - feature reference handle
    55  * @return cc_string_t - handle of the feature created
    56  */
    57 cc_blf_state_t CCAPI_featureInfo_getBLFState(cc_featureinfo_ref_t feature);
    59 /**
    60  * Get the feature option mask
    61  * @param feature - feature reference handle
    62  * @return cc_int32_t - button assgn to the feature
    63  */
    64 cc_int32_t CCAPI_featureInfo_getFeatureOptionMask(cc_featureinfo_ref_t feature);
    67 #endif /* _CCAPIAPI_FEATURE_INFO_H_ */

mercurial