yast2-core
|
#include "config.h"
#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 <YCP.h>
#include <ycp/y2log.h>
#include <ycp/YCPMap.h>
#include "ResolverAgent.h"
Classes | |
struct | info_entry |
(ResolverAgent) More... | |
Functions | |
static const char * | findKey (const char *tag) |
bool | allowedInfoKey (const char *key) |
static char * | nextWhitespace (const char *lptr) |
static char * | eatWhitespaces (const char *lptr) |
static int | fillCache (const char *filename) |
static int | flushCache (const char *filename) |
static int | allowedKey (const char *key) |
Variables | |
static YCPMap | localCache |
static bool | cacheDirty = false |
static bool | cacheValid = false |
static bool | writeHeader = false |
static const char * | resolver_keys [] |
static const info_entry | headers [] |
bool allowedInfoKey | ( | const char * | key | ) |
Referenced by flushCache(), and ResolverAgent::Write().
|
static |
References resolver_keys.
Referenced by ResolverAgent::Write().
|
static |
Referenced by fillCache().
|
static |
References YCPMap::add(), YCPList::add(), cacheValid, eatWhitespaces(), findKey(), YCPElement::isNull(), info_entry::key, nextWhitespace(), YCPMap::value(), y2debug, y2error, and y2warning.
Referenced by ResolverAgent::Read(), and ResolverAgent::Write().
|
static |
References info_entry::key.
Referenced by fillCache().
|
static |
References allowedInfoKey(), YCPMap::begin(), cacheDirty, cacheValid, YCPMap::end(), YCPElement::isNull(), info_entry::key, YCPList::size(), info_entry::tag, YCPMap::value(), YCPList::value(), writeHeader, y2debug, y2error, and y2warning.
Referenced by ResolverAgent::Write(), and ResolverAgent::~ResolverAgent().
|
static |
Referenced by fillCache().
|
static |
Referenced by flushCache(), ResolverAgent::Write(), and ResolverAgent::~ResolverAgent().
|
static |
Referenced by fillCache(), flushCache(), ResolverAgent::otherCommand(), and ResolverAgent::~ResolverAgent().
|
static |
|
static |
Referenced by ResolverAgent::Read().
|
static |
Referenced by allowedKey(), and ResolverAgent::Dir().
|
static |
Referenced by flushCache(), and ResolverAgent::Write().