[vlc-devel] [RFC] logger: add a --syslog-facility option

jpd at m2x.nl jpd at m2x.nl
Tue May 26 14:12:49 CEST 2009


On Tue, May 26, 2009 11:59, Pierre Ynard wrote:
> +        if( psz_facility )
> +        {
> +            if( !strcmp( psz_facility, "daemon" ) )
> +                ;
> +            else if( !strcmp( psz_facility, "local0" ) )
> +            {
> +                i_facility = LOG_LOCAL0;
> +            }
[and so on]

I'd like this to use table lookup, even linear search would do.





More information about the vlc-devel mailing list