Logo Search packages:      
Sourcecode: jackbeat version File versions  Download package

msg.h

/*
 *   Jackbeat - JACK sequencer
 *    
 *   Copyright (c) 2004-2008 Olivier Guilyardi <olivier {at} samalyse {dot} com>
 *    
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *   SVN:$Id: msg.h 121 2008-01-10 00:17:40Z olivier $
 */

#ifndef JACKBEAT_MSG_H
#define JACKBEAT_MSG_H

#define MSG_ACK 1

typedef struct msg_t msg_t;

msg_t *   msg_new (int buffer_size, int item_size);
void      msg_destroy (msg_t *msg);
void      msg_send (msg_t *msg, void *data, int flags);
void      msg_sync(msg_t *msg);
int       msg_receive (msg_t *msg, void *data);

#endif

Generated by  Doxygen 1.6.0   Back to index