Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
confdata.c File Reference
#include <sys/stat.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "lkc.h"

Go to the source code of this file.

Macros

#define LINE_GROWTH   16
 

Functions

void conf_set_message_callback (void(*fn)(const char *fmt, va_list ap))
 
const charconf_get_configname (void)
 
const charconf_get_autoconfig_name (void)
 
charconf_get_default_confname (void)
 
int conf_read_simple (const char *name, int def)
 
int conf_read (const char *name)
 
int conf_write_defconfig (const char *filename)
 
int conf_write (const char *name)
 
int conf_write_autoconf (void)
 
void sym_set_change_count (int count)
 
void sym_add_change_count (int count)
 
bool conf_get_changed (void)
 
void conf_set_changed_callback (void(*fn)(void))
 
void conf_set_all_new_symbols (enum conf_def_mode mode)
 

Variables

const char conf_defname [] = "arch/$ARCH/defconfig"
 

Macro Definition Documentation

#define LINE_GROWTH   16

Definition at line 185 of file confdata.c.

Function Documentation

const char* conf_get_autoconfig_name ( void  )

Definition at line 71 of file confdata.c.

bool conf_get_changed ( void  )

Definition at line 1033 of file confdata.c.

const char* conf_get_configname ( void  )

Definition at line 64 of file confdata.c.

char* conf_get_default_confname ( void  )

Definition at line 104 of file confdata.c.

int conf_read ( const char name)

Definition at line 402 of file confdata.c.

int conf_read_simple ( const char name,
int  def 
)

Definition at line 240 of file confdata.c.

void conf_set_all_new_symbols ( enum conf_def_mode  mode)

Definition at line 1106 of file confdata.c.

void conf_set_changed_callback ( void(*)(void fn)

Definition at line 1038 of file confdata.c.

void conf_set_message_callback ( void(*)(const char *fmt, va_list ap)  fn)

Definition at line 50 of file confdata.c.

int conf_write ( const char name)

Definition at line 730 of file confdata.c.

int conf_write_autoconf ( void  )

Definition at line 942 of file confdata.c.

int conf_write_defconfig ( const char filename)

Definition at line 657 of file confdata.c.

void sym_add_change_count ( int  count)

Definition at line 1028 of file confdata.c.

void sym_set_change_count ( int  count)

Definition at line 1019 of file confdata.c.

Variable Documentation

const char conf_defname[] = "arch/$ARCH/defconfig"

Definition at line 28 of file confdata.c.