#include "ace/Capabilities.h"
#include "ace/OS_NS_ctype.h"
#include "ace/OS_Memory.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"
Include dependency graph for Capabilities.cpp:
Go to the source code of this file.
Defines | |
#define | ACE_ESC ((ACE_TCHAR)0x1b) |
Functions | |
static int | is_empty (const ACE_TCHAR *line) |
static int | is_line (const ACE_TCHAR *line) |
#define ACE_ESC ((ACE_TCHAR)0x1b) |
static int is_empty | ( | const ACE_TCHAR * | line | ) | [static] |
Definition at line 293 of file Capabilities.cpp.
References ACE_OS::ace_isspace(), and ACE_TEXT.
Referenced by ACE_Priority_Reactor::dispatch_io_set(), and ACE_Capabilities::getent().
00294 { 00295 while (*line && ACE_OS::ace_isspace (*line)) 00296 ++line; 00297 00298 return *line == ACE_TEXT ('\0') || *line == ACE_TEXT ('#'); 00299 }
static int is_line | ( | const ACE_TCHAR * | line | ) | [static] |
Definition at line 302 of file Capabilities.cpp.
References ACE_OS::ace_isspace(), and ACE_TEXT.
Referenced by ACE_Capabilities::getent().
00303 { 00304 while (*line && ACE_OS::ace_isspace (*line)) 00305 ++line; 00306 00307 return *line != ACE_TEXT ('\0'); 00308 }