• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • dcop
 

dcop

  • dcop
dcopc.h
1 /*
2  * C interface to DCOP
3  *
4  * (C) 2000 Rik Hemsley <rik@kde.org>
5  * (C) 2000 Simon Hausmann <hausmann@kde.org>
6  */
7 
8 #ifndef __dcopc_h__
9 #define __dcopc_h__
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #ifndef Bool
16 #define Bool int
17 #define True 1
18 #define False 0
19 #endif
20 
21 typedef void (*dcop_callback_t)(
22  const char * object_id,
23  const char * function,
24  const char * data,
25  unsigned int data_length
26 );
27 
41 Bool dcop_attach(void);
42 
57 char * dcop_register(const char * app_name, Bool add_pid);
58 
64 Bool dcop_detach(void);
65 
75 Bool dcop_register_callback(const char * object_id, dcop_callback_t callback);
76 
93 Bool dcop_send_signal(
94  const char * receiving_app,
95  const char * object,
96  const char * function,
97  char * data,
98  int data_length
99 );
100 
116 Bool dcop_call(
117  const char * app_name,
118  const char * remote_app_name,
119  const char * remote_object_id,
120  const char * remote_function,
121  const char * data,
122  int data_length,
123  char ** reply_type,
124  char ** reply_data,
125  int * reply_data_length
126 );
127 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* __dcopc_h__ */
DCOPClient::dcop_send_signal
Bool dcop_send_signal(const char *receiving_app, const char *object, const char *function, char *data, int data_length)
DCOPClient::dcop_attach
Bool dcop_attach(void)
DCOPClient::dcop_call
Bool dcop_call(const char *app_name, const char *remote_app_name, const char *remote_object_id, const char *remote_function, const char *data, int data_length, char **reply_type, char **reply_data, int *reply_data_length)
DCOPClient::dcop_register
char * dcop_register(const char *app_name, Bool add_pid)
DCOPClient::dcop_detach
Bool dcop_detach(void)
DCOPClient::dcop_register_callback
Bool dcop_register_callback(const char *object_id, dcop_callback_t callback)

dcop

Skip menu "dcop"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

dcop

Skip menu "dcop"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for dcop by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |