ELinks 0.18.0
bittorrent_const_string Struct Reference

Like struct string, except the data is const and not freed via this structure. More...

#include <common.h>

Data Fields

const char * source
 
int length
 

Detailed Description

Like struct string, except the data is const and not freed via this structure.

So it is okay to make source point to data that is part of a larger buffer. Also, there is no magic member here.

Field Documentation

◆ length

int bittorrent_const_string::length

◆ source

const char* bittorrent_const_string::source

The documentation for this struct was generated from the following file: