summaryrefslogtreecommitdiff
path: root/ace/Service_Config.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-10 08:49:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-10 08:49:56 +0000
commit33654cd7e725a0f8069b1bcdbc3f48437b364796 (patch)
treeff947ccd272b645b872902a961c0907b7f974469 /ace/Service_Config.h
parent86936cd3534f0e229df709e544f0214451bf1c69 (diff)
downloadATCD-33654cd7e725a0f8069b1bcdbc3f48437b364796.tar.gz
eon
Diffstat (limited to 'ace/Service_Config.h')
-rw-r--r--ace/Service_Config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Service_Config.h b/ace/Service_Config.h
index a6104b72265..ae7819f18bc 100644
--- a/ace/Service_Config.h
+++ b/ace/Service_Config.h
@@ -30,6 +30,11 @@ class ACE_Reactor;
class ACE_Proactor;
class ACE_ReactorEx;
+extern "C"
+{
+typedef ACE_Service_Object *(*ACE_SERVICE_ALLOCATOR)(void);
+}
+
struct ACE_Static_Svc_Descriptor
{
char *name_;
@@ -38,7 +43,7 @@ struct ACE_Static_Svc_Descriptor
int type_;
// Type of service.
- ACE_Service_Object *(*alloc_)(void);
+ ACE_SERVICE_ALLOCATOR alloc_;
// Factory function that allocates the service.
u_int flags_;