# dcop Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# dcopc.h

    00001 /*
    00002  * C interface to DCOP
    00003  *
    00004  * (C) 2000 Rik Hemsley <rik@kde.org>
    00005  * (C) 2000 Simon Hausmann <hausmann@kde.org>
    00006  */
    00007
    00008 #ifndef __dcopc_h__
    00009 #define __dcopc_h__
    00010
    00011 #ifdef __cplusplus
    00012 extern "C" {
    00013 #endif
    00014
    00015 #ifndef Bool
    00016 #define Bool int
    00017 #define True 1
    00018 #define False 0
    00019 #endif
    00020
    00021 typedef void (*dcop_callback_t)(
    00022   const char * object_id,
    00023   const char * function,
    00024   const char * data,
    00025   unsigned int data_length
    00026 );
    00027
    00041 Bool dcop_attach(void);
    00042
    00057 char * dcop_register(const char * app_name, Bool add_pid);
    00058
    00064 Bool dcop_detach(void);
    00065
    00075 Bool dcop_register_callback(const char * object_id, dcop_callback_t callback);
    00076
    00093 Bool dcop_send_signal(
    00094   const char * receiving_app,
    00095   const char * object,
    00096   const char * function,
    00097   char * data,
    00098   int data_length
    00099 );
    00100
    00116 Bool dcop_call(
    00117   const char * app_name,
    00118   const char * remote_app_name,
    00119   const char * remote_object_id,
    00120   const char * remote_function,
    00121   const char * data,
    00122   int data_length,
    00123   char ** reply_type,
    00124   char ** reply_data,
    00125   int * reply_data_length
    00126 );
    00127
    00130 #ifdef __cplusplus
    00131 }
    00132 #endif
    00133
    00134 #endif /* __dcopc_h__ */

This file is part of the documentation for dcop Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:16:55 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003