Tor  0.4.7.0-alpha-dev
Macros | Functions
recommend_pkg.c File Reference

Code related to the recommended-packages subsystem. More...

#include "core/or/or.h"
#include "feature/dirauth/recommend_pkg.h"

Go to the source code of this file.

Macros

#define WORD()
 

Functions

int validate_recommended_package_line (const char *line)
 

Detailed Description

Code related to the recommended-packages subsystem.

Currently unused.

Definition in file recommend_pkg.c.

Macro Definition Documentation

◆ WORD

#define WORD ( )
Value:
do { \
if (*cp == ' ') \
return 0; \
cp = strchr(cp, ' '); \
if (!cp) \
return 0; \
} while (0)

Function Documentation

◆ validate_recommended_package_line()

int validate_recommended_package_line ( const char *  line)

Return true iff line is a valid RecommendedPackages line.

Definition at line 38 of file recommend_pkg.c.