Tor  0.4.7.0-alpha-dev
Functions
getinfo_geoip.c File Reference

GEOIP-related controller GETINFO commands. More...

#include "core/or/or.h"
#include "core/mainloop/connection.h"
#include "feature/control/control.h"
#include "feature/control/getinfo_geoip.h"
#include "lib/geoip/geoip.h"

Go to the source code of this file.

Functions

int getinfo_helper_geoip (control_connection_t *control_conn, const char *question, char **answer, const char **errmsg)
 

Detailed Description

GEOIP-related controller GETINFO commands.

Definition in file getinfo_geoip.c.

Function Documentation

◆ getinfo_helper_geoip()

int getinfo_helper_geoip ( control_connection_t control_conn,
const char *  question,
char **  answer,
const char **  errmsg 
)

Helper used to implement GETINFO ip-to-country/... controller command.

Definition at line 19 of file getinfo_geoip.c.