struct tapi_bttrack_opt

Overview

bttrack specific options More…

#include <tapi_bttrack.h>

struct tapi_bttrack_opt {
    // fields

    char* dfile;
    unsigned int port;
    const char* bttrack_path;
};

Detailed Documentation

bttrack specific options

Fields

char* dfile

File to store recent downloader information (it will be created if it does not exist). This option must be set (even if you use tapi_bttrack_default_opt), use tapi_file_generate_name() or anything in /tmp (like /tmp/dfile) if you do not care about the file’s content.

unsigned int port

TCP port to listen on (default is 80)

const char* bttrack_path

Path to bttrack exec (if NULL then “bttrack”).