Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

ResolverAgent.cc File Reference

#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <string>
#include <config.h>
#include <YCP.h>
#include <ycp/y2log.h>
#include <ycp/YCPMap.h>
#include "ResolverAgent.h"

Classes

struct  info_entry

Functions

const char * findKey (const char *tag)
bool allowedInfoKey (const char *key)
char * nextWhitespace (const char *lptr)
char * eatWhitespaces (const char *lptr)
int fillCache (const char *filename)
int flushCache (const char *filename)
int allowedKey (const char *key)

Variables

YCPMap localCache
bool cacheDirty = false
bool cacheValid = false
bool writeHeader = false
const char * resolver_keys []
const info_entry headers []

Function Documentation

bool allowedInfoKey const char *  key  ) 
 

int allowedKey const char *  key  )  [static]
 

char* eatWhitespaces const char *  lptr  )  [static]
 

int fillCache const char *  filename  )  [static]
 

const char* findKey const char *  tag  )  [static]
 

int flushCache const char *  filename  )  [static]
 

char* nextWhitespace const char *  lptr  )  [static]
 


Variable Documentation

bool cacheDirty = false [static]
 

bool cacheValid = false [static]
 

const info_entry headers[] [static]
 

Initial value:

 {
    {"modified",    "# Modified_by:"},
    {"backup",      "# Backup:"},
    {"process",     "# Process: "},
    {"process_id",  "# Process_id: "},
    {"script",      "# Script:"},
    {"saveto",      "# Saveto:"},
    {"info",        "# Info:"},
    {0, 0}
}

YCPMap localCache [static]
 

const char* resolver_keys[] [static]
 

Initial value:

 {
  "search",
  "nameserver",
  "domain",
  "sortlist",
  "options",
  0
}

bool writeHeader = false [static]
 


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6