00001 /** @file request.h 00002 * Header file for the sample GATRequest CPI provider. 00003 * 00004 * @date Thu Mar 18 2004 00005 * 00006 * @version $Header: /export/cvs-gridlab/wp-1/Codes/GATEngine/C-reference/adaptors/advertservice_adaptor/advertservice.h,v 1.4 2004/04/26 12:30:24 hartmutkaiser Exp $ 00007 * 00008 * Copyright (C) Hartmut Kaiser 00009 * This file is part of the GAT Engine. 00010 * Contributed by Hartmut Kaiser <hartmutkaiser [at] t-online [dot] de>. 00011 * 00012 * Use, modification and distribution is subject to the Gridlab Software 00013 * License. (See accompanying file GLlicense.txt or copy at 00014 * http://www.gridlab.org/GLlicense.txt) 00015 */ 00016 00017 #if !defined(_ADVERTSERVICE_H_) 00018 #define _ADVERTSERVICE_H_ 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 /* Register the AdvertService CPI */ 00025 GATResult advertservice_adaptor_Register_GATAdvertServiceCPI( 00026 GATContext error_context, 00027 GATRegistry registry, GATTable_const system_config, 00028 GATTable_const instance_config, void *token); 00029 00030 #ifdef __cplusplus 00031 } /* extern "C" */ 00032 #endif 00033 00034 #endif /* !defined(_ADVERTSERVICE_H_) */ 00035