From: James Courtier-Dutton <James@superbug.co.uk>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Where to put code for a new ioctl.
Date: Sun, 27 Nov 2005 11:10:53 +0000 [thread overview]
Message-ID: <4389943D.20100@superbug.co.uk> (raw)
I am looking at alsa-lib.
./src/control/control_hw.c is there the actual ioctl call goes.
./src/control/control.c calls the routine in control_hw.c
./src/control/hcontrol.c calls the routine in control.c
./src/mixer/simple_none.c handles the call from the user app, it then
calls ??? hcontrol.c or control.c ?
So, my question is, if I have to write code between the user apps
request and the ioctl. The purpose of the code is to take the request
from the user, and then encapsulate it in the ioctl specific format, and
then call the ioctl. Do I implement this encapsulating code in control.c
or hcontrol.c ?
James
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
next reply other threads:[~2005-11-27 11:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-27 11:10 James Courtier-Dutton [this message]
2005-11-28 11:44 ` Where to put code for a new ioctl Takashi Iwai
2005-11-28 11:57 ` Jaroslav Kysela
2005-11-28 18:56 ` James Courtier-Dutton
2005-11-28 19:18 ` Takashi Iwai
2005-11-28 19:33 ` Liam Girdwood
2005-11-28 21:23 ` James Courtier-Dutton
2005-11-29 10:53 ` Takashi Iwai
2005-11-29 7:55 ` Jaroslav Kysela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4389943D.20100@superbug.co.uk \
--to=james@superbug.co.uk \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.