/** \file aacdec_filter.c paraslash's aac (m4a) decoder. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
#include <sys/types.h>
#include <alsa/asoundlib.h>
#include <sys/time.h>
-#include <stdbool.h>
#include "para.h"
#include "fd.h"
/** \file amp_filter.c Paraslash's amplify filter. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "amp_filter.cmdline.h"
#include <pthread.h>
#include <ao/ao.h>
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "fd.h"
#include <regex.h>
#include <sys/types.h>
#include <signal.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "audiod.cmdline.h"
/** \file buffer_tree.c Buffer tree and buffer pool implementations. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
/** \file client.c the client program used to connect to para_server */
#include <regex.h>
-#include <stdbool.h>
#include <signal.h>
#include "para.h"
#include <sys/time.h>
#include <sys/types.h>
#include <osl.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
*/
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "compress_filter.cmdline.h"
/** \file crypt.c Openssl-based encryption/decryption routines. */
#include <regex.h>
-#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <openssl/rand.h>
/** \file crypt_common.c Crypto functions independent of openssl/libgcrypt. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <sys/types.h> /* getgrnam() */
#include <grp.h>
#include <sys/time.h>
-#include <stdbool.h>
#include <signal.h>
#include "para.h"
return mps;
}
-static int dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
+static void dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
{
int ret = write_nonblock(sc->fd, buf, len);
if (ret < 0)
dccp_shutdown_client(sc);
- return ret;
}
static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)
/** \file fecdec_filter.c A filter that fec-decodes an audio stream. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <regex.h>
#include <sys/types.h>
#include <sys/time.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
/** \file filter.c The stand-alone filter program. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "filter.cmdline.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
/** \file flac_afh.c Audio format handler for flac files. */
#include <regex.h>
-#include <stdbool.h>
#include <FLAC/stream_decoder.h>
#include <FLAC/metadata.h>
/** \file flacdec_filter.c The flac decoder. */
#include <regex.h>
-#include <stdbool.h>
#include <FLAC/stream_decoder.h>
#include "para.h"
/** \file gcrypt.c Libgrcypt-based encryption/decryption routines. */
#include <regex.h>
-#include <stdbool.h>
#include <gcrypt.h>
#include "para.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
* Licensed under the GPL v2. For licencing details see COPYING.
*/
-#include <stdbool.h>
#include "para.h"
#include "gui.h"
#include <curses.h>
#include <regex.h>
#include <sys/types.h>
#include <osl.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <mad.h>
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "mp3dec_filter.cmdline.h"
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
-#include <stdbool.h>
-
/** \file net.h exported symbols from net.c */
/**
#include <regex.h>
#include <vorbis/vorbisfile.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/soundcard.h>
-#include <stdbool.h>
#include "para.h"
#include "fd.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "fd.h"
#include <sys/un.h> /* needed by create_pf_socket */
#include <string.h>
#include <assert.h>
+#include <stdbool.h>
#include "gcc-compat.h"
/** used in various contexts */
/** \file prebuffer_filter.c Paraslash's prebuffering filter. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "prebuffer_filter.cmdline.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
/** \file recv_common.c common functions of para_recv and para_audiod */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
#include <regex.h>
#include <assert.h>
#include <sys/time.h>
-#include <stdbool.h>
#include "para.h"
#include "ipc.h"
*/
int (*init_fec)(struct sender_client *sc);
/** Push out FEC-encoded packets */
- int (*send_fec)(struct sender_client *sc, char *buf, size_t len);
+ void (*send_fec)(struct sender_client *sc, char *buf, size_t len);
};
/** Describes the current status of one paraslash sender. */
#include <sys/time.h>
#include <regex.h>
#include <osl.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
*/
/** \file spx_afh.c Audio format handler for ogg/speex files. */
-#include <stdbool.h>
#include <ogg/ogg.h>
#include <regex.h>
#include <speex/speex.h>
#include <regex.h>
#include <ogg/ogg.h>
#include <speex/speex.h>
-#include <stdbool.h>
#include <speex/speex_header.h>
#include <speex/speex_stereo.h>
#include <speex/speex_callbacks.h>
/** \file stdin.c Functions that deal with reading from stdin. */
#include <assert.h>
-#include <stdbool.h>
#include <regex.h>
#include "para.h"
/** \file stdout.c Functions that deal with writing to stdout. */
#include <assert.h>
-#include <stdbool.h>
#include "para.h"
#include "list.h"
#include <netinet/udp.h>
#include <net/if.h>
#include <osl.h>
-#include <stdbool.h>
#include "server.cmdline.h"
#include "para.h"
return -ERRNO_TO_PARA_ERROR(ret);
}
-static int udp_send_fec(struct sender_client *sc, char *buf, size_t len)
+static void udp_send_fec(struct sender_client *sc, char *buf, size_t len)
{
int ret;
if (sender_status == SENDER_OFF)
- return 0;
+ return;
if (len == 0)
- return 0;
+ return;
ret = udp_check_socket_state(sc);
if (ret < 0)
goto fail;
}
if (ret < 0)
goto fail;
- return 1;
+ return;
fail:
udp_delete_target(sc, para_strerror(-ret));
- return ret;
}
static int udp_com_add(struct sender_command_data *scd)
/** \file wav_filter.c A filter that inserts a wave header. */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <string.h>
#include <regex.h>
#include <sys/select.h>
-#include <stdbool.h>
#include "para.h"
#include "error.h"
#include <regex.h>
#include <sys/types.h>
-#include <stdbool.h>
#include "para.h"
#include "string.h"
/** \file write_common.c common functions of para_audiod and para_write */
#include <regex.h>
-#include <stdbool.h>
#include "para.h"
#include "string.h"