paraslash.git
16 years agoosl_core: Fix some typos in documentation.
Andre Noll [Sun, 17 Feb 2008 21:01:46 +0000 (22:01 +0100)]
osl_core: Fix some typos in documentation.

16 years agoserver.c: Clarify fatal log message.
Andre Noll [Sun, 17 Feb 2008 20:55:19 +0000 (21:55 +0100)]
server.c: Clarify fatal log message.

And kill the superfluous "%s" parameter.

16 years agodaemon.c: Minor logging impreovments.
Andre Noll [Sun, 17 Feb 2008 20:54:02 +0000 (21:54 +0100)]
daemon.c: Minor logging impreovments.

16 years agoBe more careful in daemon_init().
Andre Noll [Sun, 17 Feb 2008 20:53:21 +0000 (21:53 +0100)]
Be more careful in daemon_init().

setsid(), chdir() and dup2() all may fail. So check the
return value.

16 years agoaudiod.c: Don't log to /dev/null.
Andre Noll [Sun, 17 Feb 2008 20:52:21 +0000 (21:52 +0100)]
audiod.c: Don't log to /dev/null.

There's no point in computing the log message if we are
going to write it to /dev/null.

16 years agoAdd documentation of struct sender status.
Andre Noll [Sun, 17 Feb 2008 13:14:10 +0000 (14:14 +0100)]
Add documentation of struct sender status.

16 years agocom_touch(): Print a message if no audio files matched.
Andre Noll [Sat, 16 Feb 2008 19:25:48 +0000 (20:25 +0100)]
com_touch(): Print a message if no audio files matched.

16 years agoDoxify send_common.c.
Andre Noll [Sat, 16 Feb 2008 19:25:10 +0000 (20:25 +0100)]
Doxify send_common.c.

16 years agoSender code consolidation, on/off commands for the dccp sender.
Andre Noll [Sat, 16 Feb 2008 14:33:50 +0000 (15:33 +0100)]
Sender code consolidation, on/off commands for the dccp sender.

This patch moves a bunch of code from the http sender to
send_common.c to make it available also for the dccp sender.

To this aim a new structure sender_status is introduced which
holds the configuration and the current status of the http/dccp
sender. Most of the new functions in send_common.c take a pointer
to such a structure.

This allows to implement the off/on/allow/deny/info commands
as a one-liner for both the dccp and the http sender.

The new server config option dccp_max_clients allows to restrict the
number of simultaneous connections to the dccp sender.

16 years agoacl.c: Trivial whitespace cleanups.
Andre Noll [Wed, 13 Feb 2008 18:36:08 +0000 (19:36 +0100)]
acl.c: Trivial whitespace cleanups.

16 years agouser_list: Fix doxygen \param.
Andre Noll [Mon, 11 Feb 2008 19:33:50 +0000 (20:33 +0100)]
user_list: Fix doxygen \param.

16 years agoinit_random_seed(): Use para_open() to open /dev/urandom.
Andre Noll [Mon, 11 Feb 2008 19:33:20 +0000 (20:33 +0100)]
init_random_seed(): Use para_open() to open /dev/urandom.

Clean up this function while at it.

16 years agoDoxyfile: Remove HAVE_MYSQL define.
Andre Noll [Mon, 11 Feb 2008 19:32:17 +0000 (20:32 +0100)]
Doxyfile: Remove HAVE_MYSQL define.

16 years agoRemove duplicate error code.
Andre Noll [Mon, 11 Feb 2008 19:31:52 +0000 (20:31 +0100)]
Remove duplicate error code.

We had AFS_SHORT_READ and SHORT_AFS_READ.

16 years agoRemove para_mkstemp().
Andre Noll [Sun, 10 Feb 2008 13:30:30 +0000 (14:30 +0100)]
Remove para_mkstemp().

It's unused.

16 years agoNEWS update.
Andre Noll [Sun, 10 Feb 2008 13:20:36 +0000 (14:20 +0100)]
NEWS update.

16 years agoSpeed up audiod_pre_select.
Andre Noll [Sun, 10 Feb 2008 13:20:09 +0000 (14:20 +0100)]
Speed up audiod_pre_select.

Catch the common case early in the function to minimize the
number of checks for that case.

16 years agocompress.c: Get rid of min_gain.
Andre Noll [Sun, 10 Feb 2008 13:19:02 +0000 (14:19 +0100)]
compress.c: Get rid of min_gain.

Always use no amplification, i.e. 1 << pcd->conf->inertia_arg as
the minimal gain.

16 years agostring.c: Documentation cleanups.
Andre Noll [Sun, 10 Feb 2008 13:17:25 +0000 (14:17 +0100)]
string.c: Documentation cleanups.

16 years agoGet rid of E_MKSTEMP and E_FCHMOD.
Andre Noll [Sun, 10 Feb 2008 13:16:42 +0000 (14:16 +0100)]
Get rid of E_MKSTEMP and E_FCHMOD.

Use the system errno instead.

16 years agoSpeed up open_current_receiver().
Andre Noll [Sun, 10 Feb 2008 11:49:29 +0000 (12:49 +0100)]
Speed up open_current_receiver().

To my surprise, this function showed up in the profiling info.
This is due to the fact that the old code was parsing the
FORMAT status item in audiod_pre_select() which gets called
on each iteration of the sheduler. However, this status item
gets only modified on audio file change.

So parse the status item string only once, when we receive it,
and store the current audio format number in the new field of
struct status_task.

16 years agocompress_filter.ggo: Decrease block size from 16 to 15.
Andre Noll [Sat, 9 Feb 2008 19:33:36 +0000 (20:33 +0100)]
compress_filter.ggo: Decrease block size from 16 to 15.

This means twice as many volume adjustments.

16 years agocompress.c: Simplify volume adjusting code.
Andre Noll [Sat, 9 Feb 2008 19:32:36 +0000 (20:32 +0100)]
compress.c: Simplify volume adjusting code.

There's no need to distinguish the cases sample > 0 and
sample < 0. Work with its absolute value instead and get
rid of some similar code in the hot path.

Also print a log message in case clipping occurs.

16 years agocompress.c: Cosmetics.
Andre Noll [Sat, 9 Feb 2008 18:53:28 +0000 (19:53 +0100)]
compress.c: Cosmetics.

16 years agouser_list.c: Minor documentation impreovements.
Andre Noll [Sat, 9 Feb 2008 18:42:05 +0000 (19:42 +0100)]
user_list.c: Minor documentation impreovements.

16 years agopopulate_user_list(): Do not abort if the rsa key of a user is unavailable.
Andre Noll [Sat, 9 Feb 2008 18:34:53 +0000 (19:34 +0100)]
populate_user_list(): Do not abort if the rsa key of a user is unavailable.

Skip this line of the user list file instead.

16 years agouser_list.c: Simplify populate_user_list().
Andre Noll [Sat, 9 Feb 2008 18:22:13 +0000 (19:22 +0100)]
user_list.c: Simplify populate_user_list().

16 years agouser_list.c: Fix documentation of populate_user_list().
Andre Noll [Sat, 9 Feb 2008 18:07:02 +0000 (19:07 +0100)]
user_list.c: Fix documentation of populate_user_list().

16 years agoafs.c: Fix fd number in log output.
Andre Noll [Sat, 9 Feb 2008 17:57:47 +0000 (18:57 +0100)]
afs.c: Fix fd number in log output.

16 years agoKill unused error code WRITE_OK.
Andre Noll [Sat, 9 Feb 2008 17:57:14 +0000 (18:57 +0100)]
Kill unused error code WRITE_OK.

16 years agoosl_core.h: Replace static inline by _static_inline_.
Andre Noll [Sat, 9 Feb 2008 17:46:52 +0000 (18:46 +0100)]
osl_core.h: Replace static inline by _static_inline_.

16 years agoRemove gui_common.[ch].
Andre Noll [Sat, 9 Feb 2008 13:39:00 +0000 (14:39 +0100)]
Remove gui_common.[ch].

As the only gui in paraslash-0.3.x is the curses-based para_gui
there is no point in having common gui functions.

16 years agoMore trivial cleanups.
Andre Noll [Sat, 9 Feb 2008 13:17:21 +0000 (14:17 +0100)]
More trivial cleanups.

16 years agoerror.h: Kill two unused alsa error codes.
Andre Noll [Sat, 9 Feb 2008 13:10:06 +0000 (14:10 +0100)]
error.h: Kill two unused alsa error codes.

16 years agoTrivial documentation cleanups.
Andre Noll [Sat, 9 Feb 2008 13:05:43 +0000 (14:05 +0100)]
Trivial documentation cleanups.

16 years agoFix a typo on the Documentation web page.
Andre Noll [Sat, 9 Feb 2008 12:14:56 +0000 (13:14 +0100)]
Fix a typo on the Documentation web page.

16 years agoPrint codename in version info.
Andre Noll [Sat, 9 Feb 2008 11:27:21 +0000 (12:27 +0100)]
Print codename in version info.

16 years agonet.c: Fix error messages in makesock().
Andre Noll [Sat, 9 Feb 2008 10:31:07 +0000 (11:31 +0100)]
net.c: Fix error messages in makesock().

16 years agoalsa_write.c: Kill deprecated snd_pcm_sw_params_{get,set}_xfer_align.
Andre Noll [Wed, 6 Feb 2008 21:02:36 +0000 (22:02 +0100)]
alsa_write.c: Kill deprecated snd_pcm_sw_params_{get,set}_xfer_align.

Fixes

warning: 'snd_pcm_sw_params_get_xfer_align' is deprecated

for alsa-lib-1.0.16.

16 years agoImplement access control for the dccp sender.
Andre Noll [Mon, 4 Feb 2008 21:22:57 +0000 (22:22 +0100)]
Implement access control for the dccp sender.

Introduce new acl functions to avoid duplicate code
in the http/dccp sender.

16 years agohttp_send.c: Minor post_select() cleanups.
Andre Noll [Mon, 4 Feb 2008 20:11:58 +0000 (21:11 +0100)]
http_send.c: Minor post_select() cleanups.

Defer allocating memory for the client until
we will accept it.

16 years agohttp_send.c: Kill unused variable "i".
Andre Noll [Mon, 4 Feb 2008 19:43:43 +0000 (20:43 +0100)]
http_send.c: Kill unused variable "i".

16 years agohttp_send.c: Fix a bug in http_post_select().
Andre Noll [Mon, 4 Feb 2008 19:41:00 +0000 (20:41 +0100)]
http_send.c: Fix a bug in http_post_select().

If the accept() on the listen_fd fails, we don't have a valid
file descriptor but tried to close it anyway. Even worse, the
old code dereferenced and then freed the "sc" pointer which
isn't inititialized at that point.

16 years agodccp_send.c: Simplify dccp_info().
Andre Noll [Mon, 4 Feb 2008 08:42:48 +0000 (09:42 +0100)]
dccp_send.c: Simplify dccp_info().

16 years agoNEWS update.
Andre Noll [Mon, 4 Feb 2008 08:42:11 +0000 (09:42 +0100)]
NEWS update.

16 years agodccp_senc.d: No need to use static variable in dccp_info().
Andre Noll [Mon, 4 Feb 2008 08:32:43 +0000 (09:32 +0100)]
dccp_senc.d: No need to use static variable in dccp_info().

16 years agoMake the http sender use the generic sender code.
Andre Noll [Mon, 4 Feb 2008 08:31:55 +0000 (09:31 +0100)]
Make the http sender use the generic sender code.

16 years agoIntoduce send_common.c and use it from the dccp sender.
Andre Noll [Sat, 2 Feb 2008 20:28:51 +0000 (21:28 +0100)]
Intoduce send_common.c and use it from the dccp sender.

This new file contains code that was identical for the
dccp and the http sender. A subsequent patch will convert
the http sender to also use the shared code in send_common.c

16 years agosend.h: Cosmetic cleanups.
Andre Noll [Sat, 2 Feb 2008 13:47:30 +0000 (14:47 +0100)]
send.h: Cosmetic cleanups.

16 years agohttp_send.c: Kill check_r member from struct http_client.
Andre Noll [Sat, 2 Feb 2008 13:30:11 +0000 (14:30 +0100)]
http_send.c: Kill check_r member from struct http_client.

It was set to one if and only if the client is in state
HTTP_CONNECTED.

16 years agohttp_send.c: Never check the client fd for writability.
Andre Noll [Sat, 2 Feb 2008 13:28:25 +0000 (14:28 +0100)]
http_send.c: Never check the client fd for writability.

The fd is set to nonblocking mode, so writes will never
block but fail.

16 years agohttp_send.c: Kill HTTP_SENT_OK_MSG.
Andre Noll [Sat, 2 Feb 2008 12:49:25 +0000 (13:49 +0100)]
http_send.c: Kill HTTP_SENT_OK_MSG.

We might as well go directly to the HTTP_STREAMING state.

16 years ago{http,dccp}_send.c: Kill unused variable "self".
Andre Noll [Sat, 2 Feb 2008 11:44:59 +0000 (12:44 +0100)]
{http,dccp}_send.c: Kill unused variable "self".

16 years agohttp_send.c: Get rid of write_ok().
Andre Noll [Sat, 2 Feb 2008 11:27:11 +0000 (12:27 +0100)]
http_send.c: Get rid of write_ok().

Just use http_write() instead of write().

16 years agodccp_send.c: Fix a header sending bug.
Andre Noll [Sat, 2 Feb 2008 11:20:22 +0000 (12:20 +0100)]
dccp_send.c: Fix a header sending bug.

If the dccp sender is asked to send out an empty chunk, it
returns immediately without doing anything. However, we
might want to send the audio file header or the queued chunks
in this case. So always loop over all connected clients to see
if we can send something.

Moreover, if we are not listending on the dccp port, there can
not be any dccp clients, so the loop over all clients will be
an empty loop. Thus we may skip the initial check for an early
return completely.

16 years agohttp_send.c: Get rid of HTTP_READY_TO_STREAM.
Andre Noll [Sat, 2 Feb 2008 10:50:42 +0000 (11:50 +0100)]
http_send.c: Get rid of HTTP_READY_TO_STREAM.

The only reason for this state was to know whether we
already sent the audio file header. Store this info in
the new header_sent member of struct http_client.

This simplifies the code a bit and makes it more similar
to the dccp sending code.

16 years ago[TRIVIAL] dccp_send.c: Decrease scope of header_len.
Andre Noll [Sat, 2 Feb 2008 10:47:23 +0000 (11:47 +0100)]
[TRIVIAL] dccp_send.c: Decrease scope of header_len.

16 years agohttp_send.c: Introduce http_write.
Andre Noll [Sat, 2 Feb 2008 10:25:43 +0000 (11:25 +0100)]
http_send.c: Introduce http_write.

This allows to get rid of write_ok() and makes
send_queued_chunks() identical to its counterpart
in the dccp sender.

16 years agosendall(): Replace send() by write().
Andre Noll [Fri, 1 Feb 2008 23:02:33 +0000 (00:02 +0100)]
sendall(): Replace send() by write().

With zero flags parameter, send() is  equivalent  to  write(2).

16 years agodccp_senc.c: Kill E_DCCP_WRITE.
Andre Noll [Fri, 1 Feb 2008 22:40:24 +0000 (23:40 +0100)]
dccp_senc.c: Kill E_DCCP_WRITE.

Use ERRNO_TO_PARA_ERROR() instead.

16 years ago[DCCP]: Use 8000 as port.
Andre Noll [Mon, 21 Jan 2008 12:36:41 +0000 (13:36 +0100)]
[DCCP]: Use 8000 as port.

From: Gerrit Renker

As TCP and DCCP are different transport protocols, it is possible
to let both the dccp and the http sender listen on port 8000.

16 years agoBe more careful on command exit.
Andre Noll [Mon, 21 Jan 2008 08:24:16 +0000 (09:24 +0100)]
Be more careful on command exit.

If the callback returned zero, there's nothing to do.
If it returned positive, we have to send out the result
buffer and must free it afterwards. Sending the buffer may
well lead to an error condition, so always check the return
value of the corresponding call to send_buffer(). Finally,
it the command handler returned a negative value, we have
to send an error message to the client which might give rise
to another error (if sending the errror message failed). In this
case, ignore the send errror and return the previous error value.

16 years agocom_sender(): Check return value of send_buffer().
Andre Noll [Sun, 20 Jan 2008 13:47:00 +0000 (14:47 +0100)]
com_sender(): Check return value of send_buffer().

16 years agoKill two unnecessary return statements.
Andre Noll [Sun, 20 Jan 2008 13:45:33 +0000 (14:45 +0100)]
Kill two unnecessary return statements.

16 years agodccp_send.c: Reformat comment.
Andre Noll [Sat, 19 Jan 2008 18:28:52 +0000 (19:28 +0100)]
dccp_send.c: Reformat comment.

16 years agomood.c: Kill unrechable return statement.
Andre Noll [Sat, 19 Jan 2008 15:04:07 +0000 (16:04 +0100)]
mood.c: Kill unrechable return statement.

16 years agoAlways check the return value of mark_fd_nonblocking().
Andre Noll [Sat, 19 Jan 2008 14:36:47 +0000 (15:36 +0100)]
Always check the return value of mark_fd_nonblocking().

16 years agodccp_recv.c: Fix a fd leak.
Andre Noll [Sat, 19 Jan 2008 14:02:34 +0000 (15:02 +0100)]
dccp_recv.c: Fix a fd leak.

If shutdown(fd, SHUT_WR) fails, we miss to close the
open fd returned by makesock().

16 years agodccp_recv.c: Reformat comment.
Andre Noll [Sat, 19 Jan 2008 13:57:05 +0000 (14:57 +0100)]
dccp_recv.c: Reformat comment.

16 years agodccp_send.c: Check the return value of mark_fd_nonblocking() also for the client fd.
Andre Noll [Sat, 19 Jan 2008 13:45:14 +0000 (14:45 +0100)]
dccp_send.c: Check the return value of mark_fd_nonblocking() also for the client fd.

16 years agodccp_send: Fix a fd leak.
Andre Noll [Sat, 19 Jan 2008 13:41:15 +0000 (14:41 +0100)]
dccp_send: Fix a fd leak.

If shutdown(fd, SHUT_RD) fails, we miss to close the fd.

16 years agodccp_senc.c: Check return value of mark_fd_nonblocking().
Andre Noll [Sat, 19 Jan 2008 13:37:09 +0000 (14:37 +0100)]
dccp_senc.c: Check return value of mark_fd_nonblocking().

16 years agoAdd __must_check annotation for mark_fd_nonblocking() and mark_fd_blocking().
Andre Noll [Sat, 19 Jan 2008 12:50:27 +0000 (13:50 +0100)]
Add __must_check annotation for mark_fd_nonblocking() and mark_fd_blocking().

16 years agogcc-compat.h: Fix __must_check.
Andre Noll [Sat, 19 Jan 2008 12:24:04 +0000 (13:24 +0100)]
gcc-compat.h: Fix __must_check.

It didn't work for gcc-4.

16 years agoSimplify http_open().
Andre Noll [Sat, 19 Jan 2008 12:09:22 +0000 (13:09 +0100)]
Simplify http_open().

No need to shutdown the clients if listen failed: There
can not possibly exist any connected clients at this point.

16 years agoKill "port" parameter of http_open().
Andre Noll [Sat, 19 Jan 2008 12:07:47 +0000 (13:07 +0100)]
Kill "port" parameter of http_open().

It's always conf.http_port_arg.

16 years agohttp_send.c: Rename server_fd to listen_fd.
Andre Noll [Sat, 19 Jan 2008 12:01:32 +0000 (13:01 +0100)]
http_send.c: Rename server_fd to listen_fd.

To make it consistent with the dccp sender.

16 years agoGet rid of sender->status.
Andre Noll [Sat, 19 Jan 2008 11:57:59 +0000 (12:57 +0100)]
Get rid of sender->status.

DRY: For the http and the dccp sender, the status is given by
the value of the listening fd. For the ortp sender, introduce
the new static int sender_status.

16 years agoRemove unused ortp_pre_select().
Andre Noll [Sat, 19 Jan 2008 11:55:14 +0000 (12:55 +0100)]
Remove unused ortp_pre_select().

16 years agoaft.c: Fix a memory leak in open_and_update_audio_file().
Andre Noll [Thu, 17 Jan 2008 20:59:01 +0000 (21:59 +0100)]
aft.c: Fix a memory leak in open_and_update_audio_file().

If make_status_items() fails, we return an error but
do not free the chunk table buffer.

Also get rid of a pointless "goto err".

16 years agovss.c: Trivial whitespace cleanup.
Andre Noll [Thu, 17 Jan 2008 20:50:36 +0000 (21:50 +0100)]
vss.c: Trivial whitespace cleanup.

16 years agovcc.c: Fix a memory leak in recv_afs_result().
Andre Noll [Thu, 17 Jan 2008 20:50:20 +0000 (21:50 +0100)]
vcc.c: Fix a memory leak in recv_afs_result().

This function contained a code path that allocated
the buffer for the chunk table and then returned an error
(due to a failing fstat()) without freeing the chunk table
buffer.

16 years agonet.c: Fix a memory leak in makesock().
Andre Noll [Thu, 17 Jan 2008 20:40:38 +0000 (21:40 +0100)]
net.c: Fix a memory leak in makesock().

"port" was allocated dynamically but never freed. Fix it by
using a static buffer instead. This buffer can not overflow as
"port_number" is an unsigned short, so its decimal representation
consists of at most 5 digits.

16 years agosend.h: Simplify sender command enum.
Andre Noll [Thu, 17 Jan 2008 19:21:15 +0000 (20:21 +0100)]
send.h: Simplify sender command enum.

Also add GPL header while we're at it.

16 years agoserver.c: Initialize vss _after_ afs.
Andre Noll [Thu, 17 Jan 2008 18:29:23 +0000 (19:29 +0100)]
server.c: Initialize vss _after_ afs.

This way, afs doesn't inherit the open fds of the senders. This fixes

sender http off

Without this patch, para_audiod wouldn't notice that the http sender
has closed its listening fd because afs still has this fd open.

16 years agohttp_send.c: Rename open_tcp_port() to http_open().
Andre Noll [Thu, 17 Jan 2008 18:07:19 +0000 (19:07 +0100)]
http_send.c: Rename open_tcp_port() to http_open().

16 years agoringbuffer improvements.
Andre Noll [Mon, 14 Jan 2008 19:05:24 +0000 (20:05 +0100)]
ringbuffer improvements.

Introduce struct ringbuffer. This allows to get rid of the void* pointers
of the ringbuffer implementation.

16 years agoringbuffer.h: Add GPL header.
Andre Noll [Mon, 14 Jan 2008 18:19:32 +0000 (19:19 +0100)]
ringbuffer.h: Add GPL header.

16 years agoMerge commit 'remotes/meins/master'
Andre Noll [Mon, 14 Jan 2008 09:15:39 +0000 (10:15 +0100)]
Merge commit 'remotes/meins/master'

16 years agoacl.h: Add GPL header and doxygen file comment.
Andre Noll [Sun, 13 Jan 2008 16:27:42 +0000 (17:27 +0100)]
acl.h: Add GPL header and doxygen file comment.

16 years agoAdd pointer to documentation of the new acl functions.
Andre Noll [Sun, 13 Jan 2008 16:16:03 +0000 (17:16 +0100)]
Add pointer to documentation of the new acl functions.

16 years agodoxify acl.c.
Andre Noll [Sun, 13 Jan 2008 16:10:03 +0000 (17:10 +0100)]
doxify acl.c.

16 years agoRename acl functions.
Andre Noll [Sun, 13 Jan 2008 15:46:28 +0000 (16:46 +0100)]
Rename acl functions.

Prefix public functions with acl.

16 years agoMove acl functions to separate file acl.c.
Andre Noll [Sun, 13 Jan 2008 15:41:36 +0000 (16:41 +0100)]
Move acl functions to separate file acl.c.

16 years agohttp_send: Make add_perm_list_entry() and del_perm_list_entry() generic.
Andre Noll [Sun, 13 Jan 2008 15:26:17 +0000 (16:26 +0100)]
http_send: Make add_perm_list_entry() and del_perm_list_entry() generic.

16 years agohttp_send.c: Add get_acl_contents() helper.
Andre Noll [Sun, 13 Jan 2008 15:13:27 +0000 (16:13 +0100)]
http_send.c: Add get_acl_contents() helper.

16 years agohttp_send.c: Make host_in_acl() generic.
Andre Noll [Sun, 13 Jan 2008 15:04:54 +0000 (16:04 +0100)]
http_send.c: Make host_in_acl() generic.

Add an additional parameter for the list head that defines the acl.

16 years agohttp_send.c: Only pass the fd to host_in_access_perm_list().
Andre Noll [Sun, 13 Jan 2008 15:02:39 +0000 (16:02 +0100)]
http_send.c: Only pass the fd to host_in_access_perm_list().

No need to pass a pointer to struct http_client as only its ->fd member
is used. Rename this function to host_in_acl while we're at it.

16 years agohttp_send.c: Make init_access_control_list() generic.
Andre Noll [Sun, 13 Jan 2008 14:58:20 +0000 (15:58 +0100)]
http_send.c: Make init_access_control_list() generic.

16 years agohttp_send: Rename access_perm_list to http_acl.
Andre Noll [Sun, 13 Jan 2008 14:49:51 +0000 (15:49 +0100)]
http_send: Rename access_perm_list to http_acl.