summaryrefslogtreecommitdiff
path: root/ace/Svc_Conf.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-10-17 06:14:09 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-10-17 06:14:09 +0000
commit00e04653fed75db26a50c3b2dd4ed4e3f93b5012 (patch)
tree48c51aedaa1eac4cde2b6d23b85109e7bfa3535e /ace/Svc_Conf.h
parent61136fb2f12ae83458e9110367857ba31972c200 (diff)
downloadATCD-00e04653fed75db26a50c3b2dd4ed4e3f93b5012.tar.gz
ChangeLogTag:Tue Oct 16 23:08:27 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Svc_Conf.h')
-rw-r--r--ace/Svc_Conf.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ace/Svc_Conf.h b/ace/Svc_Conf.h
index 1b4ce560b39..ecf285baebf 100644
--- a/ace/Svc_Conf.h
+++ b/ace/Svc_Conf.h
@@ -75,7 +75,8 @@ public:
: type (SVC_CONF_FILE),
yyerrno (0),
yylineno (1),
- buffer (0)
+ buffer (0),
+ obstack ()
{
source.file = file;
}
@@ -85,7 +86,8 @@ public:
: type (SVC_CONF_DIRECTIVE),
yyerrno (0),
yylineno (1),
- buffer (0)
+ buffer (0),
+ obstack ()
{
source.directive = directive;
}
@@ -121,6 +123,10 @@ public:
/// Configurator file/direct scan.
ace_yy_buffer_state *buffer;
+ /// Obstack used for efficient memory allocation when
+ /// parsing/scanning a service configurator directive.
+ ACE_Obstack_T<ACE_TCHAR> obstack;
+
};
// Parameter that is passed down to the yyparse() function, and
@@ -188,9 +194,6 @@ extern ACE_TCHAR *ace_yytext;
/// Holds the length of the lexeme for the current token
extern int ace_yyleng;
-/// Efficient memory allocation technique
-extern ACE_Obstack_T<ACE_TCHAR> *ace_obstack;
-
/// Factory that creates a new ACE_Service_Type_Impl.
extern ACE_Service_Type_Impl *
ace_create_service_type (const ACE_TCHAR *,