Anope IRC Services  Version 2.0
Data Structures | Functions | Variables
main.cpp File Reference
#include "services.h"
#include "timers.h"
#include "config.h"
#include "bots.h"
#include "socketengine.h"
#include "uplink.h"
#include <limits.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Data Structures

class  UpdateTimer
class  ExpireTimer


static Anope::string GetFullProgDir (const Anope::string &argv0)
int main (int ac, char **av, char **envp)


static Anope::string BinaryDir

Function Documentation

static Anope::string GetFullProgDir ( const Anope::string argv0)

The following comes from InspIRCd to get the full path of the Anope executable

Definition at line 78 of file main.cpp.

References Anope::string::length(), Anope::string::rfind(), and Anope::string::substr().

Referenced by main().

int main ( int  ac,
char **  av,
char **  envp 

Variable Documentation

Anope::string BinaryDir

Definition at line 38 of file main.cpp.