|
Packit |
67b98c |
/*
|
|
Packit |
67b98c |
* Copyright (C) 2011 Igalia S.L.
|
|
Packit |
67b98c |
*
|
|
Packit |
67b98c |
* Contact: Iago Toral Quiroga <itoral@igalia.com>
|
|
Packit |
67b98c |
*
|
|
Packit |
67b98c |
* This library is free software; you can redistribute it and/or
|
|
Packit |
67b98c |
* modify it under the terms of the GNU Lesser General Public License
|
|
Packit |
67b98c |
* as published by the Free Software Foundation; version 2.1 of
|
|
Packit |
67b98c |
* the License, or (at your option) any later version.
|
|
Packit |
67b98c |
*
|
|
Packit |
67b98c |
* This library is distributed in the hope that it will be useful, but
|
|
Packit |
67b98c |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
67b98c |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
67b98c |
* Lesser General Public License for more details.
|
|
Packit |
67b98c |
*
|
|
Packit |
67b98c |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
67b98c |
* License along with this library; if not, write to the Free Software
|
|
Packit |
67b98c |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
Packit |
67b98c |
* 02110-1301 USA
|
|
Packit |
67b98c |
*
|
|
Packit |
67b98c |
*/
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
#if !defined (_GRILO_H_INSIDE_) && !defined (GRILO_COMPILATION)
|
|
Packit |
67b98c |
#error "Only <grilo.h> can be included directly."
|
|
Packit |
67b98c |
#endif
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
#ifndef _GRL_DEFINITIONS_H_
|
|
Packit |
67b98c |
#define _GRL_DEFINITIONS_H_
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
/* Used to pad public structres in order to avoid ABI
|
|
Packit |
67b98c |
breakage when adding new API */
|
|
Packit |
67b98c |
#define GRL_PADDING 16
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
/* Same as GRL_PADDING, but intended for objects that could
|
|
Packit |
67b98c |
have more impact on the memory footprint */
|
|
Packit |
67b98c |
#define GRL_PADDING_SMALL 8
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
/* Value used when childcount is unknown */
|
|
Packit |
67b98c |
#define GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN -1
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
/* Used to know if plugin can not tell how many elements
|
|
Packit |
67b98c |
remain to be sent */
|
|
Packit |
67b98c |
#define GRL_SOURCE_REMAINING_UNKNOWN -1
|
|
Packit |
67b98c |
|
|
Packit |
67b98c |
#endif
|