Quite a few..
static struct list_head afs_client_list;
-/** Describes on connected afs client. */
+/** Describes one connected afs client. */
struct afs_client {
/** Position in the afs client list. */
struct list_head node;
*
* Before forking the afs child, para_server creates a bidirectional pipe
* through which both processes communicate. Usually para_server requests a new
- * audio in order to start streaming or when the end of the current audio file
+ * audio file in order to start streaming or when the end of the current audio file
* has been reached. The afs process responds to such a request by sending
* back an eight byte buffer. The first four bytes is the uint32_t
* representation of the code, usually \p NEXT_AUDIO_FILE if an admissible
* is used to pass the status items from the afs process to the command handler
* via a shared memory area and a pipe.
*
- * \return The return value of the underyling call to \ref send_callback_request().
+ * \return The return value of the underlying call to \ref send_callback_request().
*/
int send_afs_status(struct command_context *cc, int parser_friendly)
{
*
* The nonblock flag must be disabled for the file descriptor given by \a scc.
*
- * Stream cipher encryption is automatically activated if neccessary via the
+ * Stream cipher encryption is automatically activated if necessary via the
* sideband transformation, depending on the value of \a band.
*
* \return Standard.
/** \file crypt_backend.h Non-public crypto interface. */
-/* This should only be incuded from files which provide crypto functions. */
+/* This should only be included from files which provide crypto functions. */
/** AES block size in bytes. */
#define AES_CRT128_BLOCK_SIZE 16
* Exec the given command.
*
* \param pid Will hold the pid of the created process upon return.
- * \param cmdline Holds the command and its arguments, seperated by spaces.
+ * \param cmdline Holds the command and its arguments, separated by spaces.
* \param fds A pointer to a value-result array.
*
* This function uses fork/exec to create a new process. \a fds must be a
* - fd[i] > 0: create a pipe and dup i to one end of that pipe.
* Upon return, fd[i] contains the file descriptor of the pipe.
*
- * In any case, all unneeded filedescriptors are closed.
+ * In any case, all unneeded file descriptors are closed.
*
* \return Standard.
*/
uint16_t slice_bytes;
/** Non-zero if this group is the beginning of the stream. */
uint8_t bos;
- /** Non-zero if this stream embedds audio headers into fec groups. */
+ /** Non-zero if this stream embeds audio headers into fec groups. */
uint8_t header_stream;
};
return FLAC__STREAM_DECODER_TELL_STATUS_OK;
}
-/* libflac insits on this callback being present. */
+/* libflac insists on this callback being present. */
static FLAC__StreamDecoderWriteStatus write_cb(
__a_unused const FLAC__StreamDecoder *decoder,
__a_unused const FLAC__Frame *frame,
* \param t Theme definition is stored here.
*
* This picks the theme that comes before the currently active one, or the last
- * availabe theme, if the current one is the first.
+ * available theme, if the current one is the first.
*
* \sa \ref theme_next().
*/
*
* \param t Theme definition is stored here.
*
- * This works exacly as theme_prev() but cycles forwards through the list of
+ * This works exactly as theme_prev() but cycles forwards through the list of
* available themes.
*/
void theme_next(struct gui_theme *t)
int (*get)(struct mixer_handle *handle);
/** Change the value of the selected channel. */
int (*set)(struct mixer_handle *handle, int val);
- /** Free all ressources associated with the given handle. */
+ /** Free all resources associated with the given handle. */
void (*close)(struct mixer_handle **handle);
};
* \param netmask Value of the netmask part in \a cidr or the
* default of 32 if not specified.
*
- * \return Pointer to \a addr if succesful, NULL on error.
+ * \return Pointer to \a addr if successful, NULL on error.
* \sa RFC 4632
*/
char *parse_cidr(const char *cidr,
*
* \param sockfd The socket file descriptor.
*
- * The socket must be connected. See RFC 1122, 3.3.3. If the protocol familiy
+ * The socket must be connected. See RFC 1122, 3.3.3. If the protocol family
* could not be determined, \p AF_INET is assumed.
*
* \return The maximum message size of the address family type.
* Set sampling rate
*
* If we request a higher sampling rate than is supported by the
- * device, the the highest possible speed is automatically used. The
+ * device, the highest possible speed is automatically used. The
* value actually used is returned as the new value of the argument.
*/
rate = sample_rate;
* \param receiver_num contains the number of the receiver upon success
*
* This function checks whether \a ra starts with the name of a supported
- * paraslash receiver, optinally followed by a colon and any options for that
+ * paraslash receiver, optionally followed by a colon and any options for that
* receiver. If a valid receiver name was found the remaining part of \a ra is
* passed to the receiver's config parser.
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
-/** \file string.h exported sybmols from string.c */
+/** \file string.h exported symbols from string.c */
/** Flags that change how content is printed into the buffer. */
enum para_buffer_flags {
}
/*
- * True if we sent a packet to all budies and received a packet from each
+ * True if we sent a packet to all buddies and received a packet from each
* enabled buddy.
*/
static bool sync_complete(struct sync_filter_context *ctx)
return 1;
/*
* Although all enabled buddies are in sync we do not splice out
- * ourselves immediately. We rather wait until the timout expires,
+ * ourselves immediately. We rather wait until the timeout expires,
* or the buddy list has become empty. This opens a time window
* for disabled buddies to become enabled by sending us a packet.
*/
size_t len = vss_get_fec_eof_packet(&buf);
/*
- * Ignore the return value of wirte() since we are closing the target
+ * Ignore the return value of write() since we are closing the target
* anyway. The sole purpose of the "do_nothing" statement is to silence
* gcc.
*/
*/
void *(*parse_config_or_die)(int argc, char **argv);
/**
- * Dellocate all configuration resources.
+ * Deallocate all configuration resources.
*
* This should free whatever was allocated by \ref parse_config_or_die().
*/