* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: Ryan Lortie <desrt@desrt.ca>
*/
#include <glib.h>
-typedef struct { guint16 __value; } guint16_le;
-typedef struct { guint32 __value; } guint32_le;
+typedef struct { guint16 value; } guint16_le;
+typedef struct { guint32 value; } guint32_le;
struct gvdb_pointer {
guint32_le start;
struct gvdb_pointer pointer;
gchar direct[8];
} value;
-
- struct gvdb_pointer options;
};
struct gvdb_header {
}
static inline guint32 guint32_from_le (guint32_le value) {
- return GUINT32_FROM_LE (value.__value);
+ return GUINT32_FROM_LE (value.value);
}
static inline guint16_le guint16_to_le (guint16 value) {
}
static inline guint16 guint16_from_le (guint16_le value) {
- return GUINT16_FROM_LE (value.__value);
+ return GUINT16_FROM_LE (value.value);
}
#define GVDB_SIGNATURE0 1918981703