1*4882a593SmuzhiyunAdd idivine.h, which is missing from DirectFB tarballs 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe idivine.h file was taken from the DirectFB Git repository. 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunSigned-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunIndex: b/lib/divine/idivine.h 8*4882a593Smuzhiyun=================================================================== 9*4882a593Smuzhiyun--- /dev/null 10*4882a593Smuzhiyun+++ b/lib/divine/idivine.h 11*4882a593Smuzhiyun@@ -0,0 +1,54 @@ 12*4882a593Smuzhiyun+/* 13*4882a593Smuzhiyun+ (c) Copyright 2012-2013 DirectFB integrated media GmbH 14*4882a593Smuzhiyun+ (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) 15*4882a593Smuzhiyun+ (c) Copyright 2000-2004 Convergence (integrated media) GmbH 16*4882a593Smuzhiyun+ 17*4882a593Smuzhiyun+ All rights reserved. 18*4882a593Smuzhiyun+ 19*4882a593Smuzhiyun+ Written by Denis Oliver Kropp <dok@directfb.org>, 20*4882a593Smuzhiyun+ Andreas Shimokawa <andi@directfb.org>, 21*4882a593Smuzhiyun+ Marek Pikarski <mass@directfb.org>, 22*4882a593Smuzhiyun+ Sven Neumann <neo@directfb.org>, 23*4882a593Smuzhiyun+ Ville Syrjälä <syrjala@sci.fi> and 24*4882a593Smuzhiyun+ Claudio Ciccani <klan@users.sf.net>. 25*4882a593Smuzhiyun+ 26*4882a593Smuzhiyun+ This library is free software; you can redistribute it and/or 27*4882a593Smuzhiyun+ modify it under the terms of the GNU Lesser General Public 28*4882a593Smuzhiyun+ License as published by the Free Software Foundation; either 29*4882a593Smuzhiyun+ version 2 of the License, or (at your option) any later version. 30*4882a593Smuzhiyun+ 31*4882a593Smuzhiyun+ This library is distributed in the hope that it will be useful, 32*4882a593Smuzhiyun+ but WITHOUT ANY WARRANTY; without even the implied warranty of 33*4882a593Smuzhiyun+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 34*4882a593Smuzhiyun+ Lesser General Public License for more details. 35*4882a593Smuzhiyun+ 36*4882a593Smuzhiyun+ You should have received a copy of the GNU Lesser General Public 37*4882a593Smuzhiyun+ License along with this library; if not, write to the 38*4882a593Smuzhiyun+ Free Software Foundation, Inc., 59 Temple Place - Suite 330, 39*4882a593Smuzhiyun+ Boston, MA 02111-1307, USA. 40*4882a593Smuzhiyun+*/ 41*4882a593Smuzhiyun+ 42*4882a593Smuzhiyun+ 43*4882a593Smuzhiyun+ 44*4882a593Smuzhiyun+#ifndef __IDIVINE_H__ 45*4882a593Smuzhiyun+#define __IDIVINE_H__ 46*4882a593Smuzhiyun+ 47*4882a593Smuzhiyun+#include <divine.h> 48*4882a593Smuzhiyun+ 49*4882a593Smuzhiyun+/* 50*4882a593Smuzhiyun+ * private data struct of IDiVine 51*4882a593Smuzhiyun+ */ 52*4882a593Smuzhiyun+typedef struct { 53*4882a593Smuzhiyun+ int ref; /* reference counter */ 54*4882a593Smuzhiyun+ 55*4882a593Smuzhiyun+ DiVine *divine; 56*4882a593Smuzhiyun+} IDiVine_data; 57*4882a593Smuzhiyun+ 58*4882a593Smuzhiyun+/* 59*4882a593Smuzhiyun+ * IDiVine constructor/destructor 60*4882a593Smuzhiyun+ */ 61*4882a593Smuzhiyun+DFBResult IDiVine_Construct( IDiVine *thiz ); 62*4882a593Smuzhiyun+ 63*4882a593Smuzhiyun+void IDiVine_Destruct ( IDiVine *thiz ); 64*4882a593Smuzhiyun+ 65*4882a593Smuzhiyun+#endif 66