yast2-core
Macros | Functions
ModulesConf.cc File Reference
#include "config.h"
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <Y2.h>
#include "ModulesConf.h"
#include "Y2Logger.h"

Macros

#define BACKUP_EXTENSION   ".YaST2save"
 
#define FINAL_COMMENT   "YaST2_final_modules_conf_comment"
 
#define Y2_STRING(dest, source, ret)
 

Functions

string killspaces (const string s)
 

Macro Definition Documentation

#define BACKUP_EXTENSION   ".YaST2save"

Referenced by ModulesConf::writeFile().

#define FINAL_COMMENT   "YaST2_final_modules_conf_comment"
#define Y2_STRING (   dest,
  source,
  ret 
)
Value:
{ \
char *ss; \
do { \
ss = strsep(&source,WHITESPACE); \
if(ss==NULL) { \
if(!ret && line!="keep") \
y2error("Parse error: %s (%s)",dest.c_str(),line.c_str()); \
free (line_str); \
return ret; \
} \
} while((dest=ss)==""); \
}
if(!yymsg) yymsg
Definition: parser.cc:6112
#define WHITESPACE
Definition: ModulesConf.h:23
#define y2error(format, args...)
Definition: liby2util-r/src/include/y2util/y2log.h:112

Referenced by ModulesConf::parseLine().

Function Documentation

string killspaces ( const string  s)

Generated on a sunny day for yast2-core by doxygen 1.8.6