src/lib/lightmediascanner_utils.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  lms_string_size

Defines

#define _LIGHTMEDIASCANNER_UTILS_H_   1
#define API
#define GNUC_NON_NULL(...)
#define LMS_STATIC_STRING_SIZE(s)   {s, sizeof(s) - 1}
#define LMS_ARRAY_SIZE(a)   (sizeof(a) / sizeof(*a))

Functions

API void lms_strstrip (char *str, unsigned int *p_len) GNUC_NON_NULL(1
API void API int lms_which_extension (const char *name, unsigned int name_len, const struct lms_string_size *exts, unsigned int exts_len) GNUC_NON_NULL(1


Define Documentation

#define _LIGHTMEDIASCANNER_UTILS_H_   1

Copyright (C) 2007 by INdT

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Author:
Gustavo Sverzut Barbieri <gustavo.barbieri@openbossa.org>

Definition at line 22 of file lightmediascanner_utils.h.

#define API

Definition at line 40 of file lightmediascanner_utils.h.

#define GNUC_NON_NULL ( ...   ) 

Definition at line 41 of file lightmediascanner_utils.h.

#define LMS_ARRAY_SIZE (  )     (sizeof(a) / sizeof(*a))

Definition at line 55 of file lightmediascanner_utils.h.

#define LMS_STATIC_STRING_SIZE (  )     {s, sizeof(s) - 1}

Definition at line 54 of file lightmediascanner_utils.h.


Function Documentation

API void lms_strstrip ( char *  str,
unsigned int *  p_len 
)

API void API int lms_which_extension ( const char *  name,
unsigned int  name_len,
const struct lms_string_size exts,
unsigned int  exts_len 
)


Generated on Thu Dec 13 02:04:05 2007 for Light Media Scanner by  doxygen 1.5.2