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

ModulesConf.cc File Reference

#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"

Defines

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

Functions

string killspaces (const string s)

Define Documentation

#define BACKUP_EXTENSION   ".-"
 

#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)==""); \
}


Function Documentation

string killspaces const string  s  ) 
 

Parser


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