Blame src/ccapi/server/ccs_client.h

Packit fd8b60
/* ccapi/server/ccs_client.h */
Packit fd8b60
/*
Packit fd8b60
 * Copyright 2006 Massachusetts Institute of Technology.
Packit fd8b60
 * All Rights Reserved.
Packit fd8b60
 *
Packit fd8b60
 * Export of this software from the United States of America may
Packit fd8b60
 * require a specific license from the United States Government.
Packit fd8b60
 * It is the responsibility of any person or organization contemplating
Packit fd8b60
 * export to obtain such a license before exporting.
Packit fd8b60
 *
Packit fd8b60
 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
Packit fd8b60
 * distribute this software and its documentation for any purpose and
Packit fd8b60
 * without fee is hereby granted, provided that the above copyright
Packit fd8b60
 * notice appear in all copies and that both that copyright notice and
Packit fd8b60
 * this permission notice appear in supporting documentation, and that
Packit fd8b60
 * the name of M.I.T. not be used in advertising or publicity pertaining
Packit fd8b60
 * to distribution of the software without specific, written prior
Packit fd8b60
 * permission.  Furthermore if you modify this software you must label
Packit fd8b60
 * your software as modified software and not distribute it in such a
Packit fd8b60
 * fashion that it might be confused with the original M.I.T. software.
Packit fd8b60
 * M.I.T. makes no representations about the suitability of
Packit fd8b60
 * this software for any purpose.  It is provided "as is" without express
Packit fd8b60
 * or implied warranty.
Packit fd8b60
 */
Packit fd8b60
Packit fd8b60
#ifndef CCS_CLIENT_H
Packit fd8b60
#define CCS_CLIENT_H
Packit fd8b60
Packit fd8b60
#include "ccs_types.h"
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_new (ccs_client_t *out_client,
Packit fd8b60
                         ccs_pipe_t    in_client_pipe);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_release (ccs_client_t io_client);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_add_callback (ccs_client_t   io_client,
Packit fd8b60
				  ccs_callback_t in_lock);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_remove_callback (ccs_client_t   io_client,
Packit fd8b60
				     ccs_callback_t in_lock);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_add_iterator (ccs_client_t                io_client,
Packit fd8b60
				  ccs_generic_list_iterator_t in_iterator);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_remove_iterator (ccs_client_t                io_client,
Packit fd8b60
				     ccs_generic_list_iterator_t in_iterator);
Packit fd8b60
Packit fd8b60
cc_int32 ccs_client_uses_pipe (ccs_client_t  in_client,
Packit fd8b60
                               ccs_pipe_t    in_pipe,
Packit fd8b60
                               cc_uint32    *out_uses_pipe);
Packit fd8b60
Packit fd8b60
#endif /* CCS_CLIENT_H */