libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] [PATCH] Linux drive detection without medium


From: Burkhard Plaum
Subject: Re: [Libcdio-devel] [PATCH] Linux drive detection without medium
Date: Tue, 26 Apr 2005 15:50:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050417 Fedora/1.7.7-1.3.1

R. Bernstein wrote:
Patch applied. If you want CVS access and have an savannah.gnu.org
account I can set you up to apply changes directly.

Allright, I just registered as gmerlin.
I also subscribed to libcdio-devel so others can take part in our
conversations :-)

For example
get_drive_cap_mmc of lib/driver is used by a number of the drivers but
I guess for now it's not useful outside of the library.

Ahh, ok that makes sense. I was just curious.

My approach is to prefix all public symbols
(e.g. get_drive_cap_mmc -> cdio_get_drive_cap_mmc) and make a strict
separation of public and private header files. I have, of course, tons
of public symbols, which should never be accessed from outside.

Having one executable linked with multiple versions of the same lib
(directly or via dynamic modules) is almost always doomed to
failure. I doubt that making a bunch of functions local will help
a lot here :)

Cheers

Burkhard

--
_____________________________
Dr.-Ing. Burkhard Plaum
Institut fuer Plasmaforschung
Pfaffenwaldring 31
70569 Stuttgart
Tel.: +49 711 685-2187
Fax.:            -3102




reply via email to

[Prev in Thread] Current Thread [Next in Thread]