This file is indexed.

/usr/include/aroarfw/network.h is in aroarfw-dev 0.1~beta5-4.

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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//network.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_NETWORK_H_
#define _AROARFW_NETWORK_H_

//! Possible socket types
typedef enum {
 //! None, not set, unknown, invalid
 RSOCKETTYPE_NONE             =  0,
 //! TCP Socket
 RSOCKETTYPE_TCP              =  1,
 //! UNIX Socket
 RSOCKETTYPE_UNIX             =  2,
 //! Fork (internal use only)
 RSOCKETTYPE_FORK             =  3,
 //! Normal file (may be specal device, too, everything open() works on)
 RSOCKETTYPE_FILE             =  4,
 //! UDP
 RSOCKETTYPE_UDP              =  5,
 //! Generic stream
 RSOCKETTYPE_GENSTR           =  6,
 //! DECnet
 RSOCKETTYPE_DECNET           =  7,
 //! TCP6
 RSOCKETTYPE_TCP6             =  8,
 //! UDP6
 RSOCKETTYPE_UDP6             =  9,
 //! IPX/SPX
 RSOCKETTYPE_IPXSPX           = 10,
 //! Plain IPX
 RSOCKETTYPE_IPX              = 11,
 //! LAT Service
 RSOCKETTYPE_LAT_SERVICE      = 12,
 //! LAT reverse port
 RSOCKETTYPE_LAT_REVERSE_PORT = 13
} rsocktype_t;

//! Possible socket modes
typedef enum {
 // Listen Socket
 RSOCKMODE_LISTEN  = 1,
 // Normal client socket
 RSOCKMODE_CONNECT = 2
} rsockmode_t;

//! Default RoarAudio port for TCP/IP
#define RDEFAULT_PORT   16002

//! Default RoarAudio Host
#define RDEFAULT_HOST   "localhost"

//! Default RoarAudio global socket filename
#define RDEFAULT_GSOCK  "/tmp/roar"

/** \brief Default RoarAudio user socket filename

 Tilde (~) at the begining of the string needs to be replaced by
 the user's home directory. This is normaly stored in $HOME.
*/
#define RDEFAULT_USOCK  "~/.roar"

//! Default RoarAudio DECnet object
#define RDEFAULT_OBJECT "roar"

#endif

//ll