Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.tm.tcf.examples.daytime.agent/services-ext.h')
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/services-ext.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/services-ext.h b/examples/org.eclipse.tm.tcf.examples.daytime.agent/services-ext.h
new file mode 100644
index 000000000..74bd0ff07
--- /dev/null
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/services-ext.h
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Wind River Systems, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Eclipse Distribution License v1.0 which accompany this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Eclipse Distribution License is available at
+ * http://www.eclipse.org/org/documents/edl-v10.php.
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+
+/*
+ * Services initialization code extension point.
+ * If the agent is built with additional user-defined services,
+ * a customized version of services-ext.h file can be added to compiler headers search paths.
+ */
+
+#include "daytime.h"
+
+static void ini_ext_services(Protocol * proto, TCFBroadcastGroup * bcg) {
+ ini_daytime_service(proto);
+}

Back to the top