Back to index

im-sdk  12.3.91
stream-socket.h
Go to the documentation of this file.
00001 #if !defined(IIIMF_STREAM_SOCKET_H)
00002 #define IIIMF_STREAM_SOCKET_H
00003 
00004 
00005 #include <sys/types.h>
00006 
00007 #include <iiimp.h>
00008 
00009 
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 
00015 extern IIIMF_status  stream_socket_client_open(
00016                             IIIMF_im *                  im,
00017                             IIIMF_stream_proc_data *    data);
00018 
00019 extern IIIMF_status  stream_socket_server_open(
00020                             IIIMF_im *                  im,
00021                             IIIMF_stream_proc_data *    data);
00022 
00023 extern IIIMF_status  stream_socket_server_accept(
00024                             IIIMF_im *                  im_master,
00025                             IIIMF_stream_proc_data *    proc_data,
00026                             void *                      client_data,
00027                             IIIMF_im **                 im_ret);
00028 
00029 extern IIIMF_status  stream_socket_read(IIIMF_stream_proc_data *      data,
00030                                       void *                   buf,
00031                                       size_t                   nbyte);
00032 
00033 extern IIIMF_status  stream_socket_write(IIIMF_stream_proc_data *     data,
00034                                        const void *            buf,
00035                                        size_t                  nbyte);
00036 
00037 extern IIIMF_status  stream_socket_close(IIIMF_stream_proc_data *     data);
00038 
00039 
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043 
00044 #endif /* !IIIMF_STREAM_SOCKET_H */
00045 
00046 
00047 /* Local Variables: */
00048 /* c-file-style: "iiim-project" */
00049 /* End: */