nfs-ganesha 1.4
Defines | Functions | Variables

test_findlog.c File Reference

Go to the source code of this file.

Defines

#define MACRO
#define MACRO
#define MACRO1
#define MACRO2

Functions

 LogTest ("tab")
 LogTest ("space")
 LogTest ("space before semi")
 LogTest ("space after semi")
 LogTest ("function with ; in quotes")
 LogTest ("parm 1","parm 2")
 LogTest ("parm 1","parm 2 with space after semi")
 LogTest ("parm 1 with ;","parm 2 with space after semi")
 LogTest ("parm 1","parm 2 with ;")
 LogTest ("paren on new line")
 LogAlways ("but find me on line 53")
 LogTest ("and me", string, buff, compare)
 LogTest ("and finally me")
else if (!STRCMP(key_name,"LogFile not me 1")) LogFile
else if (!STRCMP(key_name,"not me 3")) LogCrit(COMPONENT_CONFIG
else if (!STRCMP(key_name,"LogFile not me 5")) LogFile
 LogCrit (COMPONENT_CONFIG,"find me 2 on 82", key_name)
 Logtest ("in parens"))
 LogTest ("foo")
 if (LogTest("simple if"))
 foo ("oops shouldn't pick this up")
 if (LogTest("if with braces"))
 if (LogTest("if with braces 2"))
 LogTest ("fini")

Variables

 LogVal
 LogComponents [dont find me]
else find me on
else find me key_name

Define Documentation

#define MACRO
Value:

Definition at line 53 of file test_findlog.c.

#define MACRO
Value:
LogWarn(COMPONENT_CONFIG,            \
          "MACRO") \
          { }

Definition at line 53 of file test_findlog.c.

#define MACRO1
Value:
LogTest("M1 A",  \
                parms);                 \
      LogTest("M1 B", parms); \
  }

Definition at line 66 of file test_findlog.c.

#define MACRO2
Value:
LogTest("M2 A",  \
                parms);                 \
      LogTest("M2 B", parms); \
      LogTest("M2 C", parms); \
  }

Definition at line 72 of file test_findlog.c.


Function Documentation

foo ( "oops shouldn't pick this up"  )
else if ( STRCMPkey_name,"LogFile not me 1")
if ( LogTest("if with braces 2")  )

Definition at line 110 of file test_findlog.c.

else if ( STRCMPkey_name,"LogFile not me 5")
if ( LogTest("simple if")  )

Definition at line 95 of file test_findlog.c.

if ( LogTest("if with braces")  )

Definition at line 104 of file test_findlog.c.

else if ( STRCMPkey_name,"not me 3")
LogAlways ( "but find me on line 53"  )
LogCrit ( COMPONENT_CONFIG  ,
"find me 2 on 82"  ,
key_name   
)
LogTest ( "parm 1 with ;"  ,
"parm 2 with space after semi"   
)
LogTest ( "space before semi"  )
LogTest ( "parm 1"  ,
"parm 2 with space after semi"   
)
LogTest ( "and finally me"  )
LogTest ( "and me"  ,
string  ,
buff  ,
compare   
)
LogTest ( "function with ; in quotes"  )
LogTest ( "fini"  )
LogTest ( "parm 1"  ,
"parm 2 with ;"   
)
LogTest ( "tab"  )
LogTest ( "foo"  )
LogTest ( "parm 1"  ,
"parm 2"   
)
LogTest ( "space"  )
LogTest ( "paren on new line"  )
Logtest ( "in parens"  )
LogTest ( "space after semi"  )

Variable Documentation

else find me key_name

Definition at line 83 of file test_findlog.c.

LogComponents[dont find me]

Definition at line 60 of file test_findlog.c.

Initial value:
"dont find me"
  
  LogTest("But do find me")

Definition at line 43 of file test_findlog.c.

else find me on

Definition at line 83 of file test_findlog.c.