media/webrtc/signaling/src/sipcc/stub/cc_blf_stub.c

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
-rwxr-xr-x

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 #include "cc_constants.h"
     7 /**
     8  * Initialize the BLF stack
     9  * @return
    10  */
    11 int CC_BLF_init()
    12 {
    13     return 0;
    14 }
    15 /**
    16  * Start BLF subscription
    17  * @param request_id the request id
    18  * @param duration the subscription duration
    19  * @param watcher the name of subscription watcher
    20  * @param presentity
    21  * @param app_id the application id for the BLF
    22  * @param feature_mask
    23  * @return void
    24  */
    25 void CC_BLF_subscribe(int request_id,
    26 		int duration,
    27 		const char *watcher,
    28         const char *presentity,
    29         int app_id,
    30         int feature_mask)
    31 {
    32     return;
    33 }
    35 /**
    36  * Unsubscribe the BLF subscription
    37  * @param request_id the request id
    38  * @return void
    39  */
    40 void CC_BLF_unsubscribe(int request_id)
    41 {
    42     return;
    43 }
    45 /**
    46  * Unsubscribe all BLF subscription
    47  * @return void
    48  */
    49 void CC_BLF_unsubscribe_All()
    50 {
    51     return;
    52 }

mercurial