dbus/dbus dbus-marshal-basic.h, 1.10, 1.11 dbus-marshal-validate.c, NONE, 1.1 dbus-marshal-validate.h, NONE, 1.1

Havoc Pennington hp@freedesktop.org
Mon Jan 3 09:05:29 PST 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv21949

Modified Files:
	dbus-marshal-basic.h 
Added Files:
	dbus-marshal-validate.c dbus-marshal-validate.h 
Log Message:
add a file to hold the validation routines


Index: dbus-marshal-basic.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-marshal-basic.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dbus-marshal-basic.h	3 Jan 2005 07:15:38 -0000	1.10
+++ dbus-marshal-basic.h	3 Jan 2005 17:05:26 -0000	1.11
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef DBUS_MARSHAL_H
-#define DBUS_MARSHAL_H
+#ifndef DBUS_MARSHAL_BASIC_H
+#define DBUS_MARSHAL_BASIC_H
 
 #include <config.h>
 #include <dbus/dbus-protocol.h>
@@ -320,4 +320,4 @@
 
 
 
-#endif /* DBUS_MARSHAL_H */
+#endif /* DBUS_MARSHAL_BASIC_H */

--- NEW FILE: dbus-marshal-validate.c ---
/* -*- mode: C; c-file-style: "gnu" -*- */
/* dbus-marshal-validate.c Validation routines for marshaled data
 *
 * Copyright (C) 2005 Red Hat, Inc.
 *
 * Licensed under the Academic Free License version 2.1
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 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
 *
 */

#include "dbus-internals.h"
#include "dbus-marshal-validate.h"

/**
 * @addtogroup DBusMarshal
 *
 * @{
 */

/** @} */

#ifdef DBUS_BUILD_TESTS
#include "dbus-test.h"
#include <stdio.h>

dbus_bool_t
_dbus_marshal_validate_test (void)
{

  return TRUE;
}

#endif /* DBUS_BUILD_TESTS */

--- NEW FILE: dbus-marshal-validate.h ---
/* -*- mode: C; c-file-style: "gnu" -*- */
/* dbus-marshal-validate.h  Validation routines for marshaled data
 *
 * Copyright (C) 2005  Red Hat, Inc.
 *
 * Licensed under the Academic Free License version 2.1
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 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
 *
 */

#ifndef DBUS_MARSHAL_VALIDATE_H
#define DBUS_MARSHAL_VALIDATE_H

#include <config.h>
#include <dbus/dbus-marshal-basic.h>

#ifndef PACKAGE
#error "config.h not included here"
#endif


#endif /* DBUS_MARSHAL_VALIDATE_H */



More information about the dbus-commit mailing list