Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
mconsole_kern.h File Reference
#include <linux/list.h>
#include "mconsole.h"

Go to the source code of this file.

Data Structures

struct  mconsole_entry
 
struct  mc_device
 

Macros

#define CONFIG_CHUNK(str, size, current, chunk, end)
 

Macro Definition Documentation

#define CONFIG_CHUNK (   str,
  size,
  current,
  chunk,
  end 
)
Value:
do { \
current += strlen(chunk); \
if(current >= size) \
str = NULL; \
if(str != NULL){ \
strcpy(str, chunk); \
str += strlen(chunk); \
} \
if(end) \
current++; \
} while(0)

Definition at line 27 of file mconsole_kern.h.