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 _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.
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 | ( | a | ) | (sizeof(a) / sizeof(*a)) |
Definition at line 55 of file lightmediascanner_utils.h.
#define LMS_STATIC_STRING_SIZE | ( | s | ) | {s, sizeof(s) - 1} |
Definition at line 54 of file lightmediascanner_utils.h.
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 | |||
) |