34     const int bufferSize = 4096;
    35     char applicationBuffer[bufferSize];
    36     int count = readlink(
"/proc/self/exe", applicationBuffer, bufferSize);
    37     if (count != 0 && count < bufferSize) {
    38         std::string applicationPath(applicationBuffer, count);
    39         applicationPath = std::string(applicationPath, 0, applicationPath.find_last_of(
"/"));
    41         mPluginPaths.push_back(applicationPath + 
"/alvarplugins");
    56     buffer = getenv(variable.data());
    58         path = std::string(buffer);
    64         std::string::size_type start = 0;
    65         std::string::size_type end = 0;
    66         while ((end = path.find_first_of(delimitor, start)) != std::string::npos) {
    67             std::string tmp(path, start, end - start);
    73         if (start != path.size()) {
    74             std::string tmp(path, start, std::string::npos);
    84     return std::string(
"lib");
    89     return std::string(
"so");
 PluginPathsVector mPluginPaths
std::string pluginExtension()
void parseEnvironmentVariable(const std::string &variable)
std::string pluginPrefix()