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.

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

mercurial