/usr/include/aroarfw/types.h is in aroarfw-dev 0.1~beta5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | //types.h:
/*
* Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2010-2013
*
* This file is part of aroarfw, a RoarAudio framework for
* embedded systems (µControlers).
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3
* or (at your option) any later version as published by
* the Free Software Foundation.
*
* aroarfw 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 software; see the file COPYING. If not, write to
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef _AROARFW_TYPES_H_
#define _AROARFW_TYPES_H_
#include <stdint.h>
#ifdef __GNUC__
#define __RPACKED__ __attribute__((packed))
#else
#define __RPACKED__
#warn "Don't know how to pack a struct with your compiler correctly"
#endif
//! This is the base type for storing of standard IDs.
//! Type for client IDs
typedef uint16_t rcid_t;
//! Type for Stream IDs
typedef uint16_t rsid_t;
//! Type for stream positions
typedef uint32_t rpos_t;
//! Type for process IDs
typedef uint32_t rpid_t;
//! Type to store packed UUID
typedef uint8_t ruuid_t[16];
//! Type of IO direction
typedef enum {
// Invalid value
RIODIR_INVALID = 0xFF,
//! This stream has no defined IO direction
RIODIR_NONE = 0x00,
//! This stream is a input stream
RIODIR_IN = 0x01,
//! This stream is an output stream
RIODIR_OUT = 0x02,
//! This stream is bidirectional
RIODIR_INOUT = RIODIR_IN|RIODIR_OUT
} riodir_t;
#endif
//ll
|