commit: r481 - in libspreadutil/trunk: include src
[email protected] Sun, 04 Mar 2012 14:32:10 -0500
| Newsgroups | gmane.network.spread.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: jonathan Date: 2012-03-04 14:32:10 -0500 (Sun, 04 Mar 2012) New Revision: 481 Added: libspreadutil/trunk/include/objects.h libspreadutil/trunk/include/objects_local.h Removed: libspreadutil/trunk/src/objects.h libspreadutil/trunk/src/objects_local.h Log: Move objects.h to include Copied: libspreadutil/trunk/include/objects.h (from rev 477, libspreadutil/trunk/src/objects.h) =================================================================== --- libspreadutil/trunk/include/objects.h (rev 0) +++ libspreadutil/trunk/include/objects.h 2012-03-04 19:32:10 UTC (rev 481) @@ -0,0 +1,73 @@ +/* + * The Spread Toolkit. + * + * The contents of this file are subject to the Spread Open-Source + * License, Version 1.0 (the ``License''); you may not use + * this file except in compliance with the License. You may obtain a + * copy of the License at: + * + * http://www.spread.org/license/ + * + * or in the file ``license.txt'' found in this distribution. + * + * Software distributed under the License is distributed on an AS IS basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Creators of Spread are: + * Yair Amir, Michal Miskin-Amir, Jonathan Stanton, John Schultz. + * + * Copyright (C) 1993-2009 Spread Concepts LLC <[email protected]> + * + * All Rights Reserved. + * + * Major Contributor(s): + * --------------- + * Ryan Caudy [email protected] - contributions to process groups. + * Claudiu Danilov [email protected] - scalable wide area support. + * Cristina Nita-Rotaru [email protected] - group communication security. + * Theo Schlossnagle [email protected] - Perl, autoconf, old skiplist. + * Dan Schoenblum [email protected] - Java interface. + * + */ + + +/* objects.h + * main declarations of objects + * Copyright 1997-2012 Jonathan Stanton <[email protected]> + * + */ + +#ifndef OBJECTS_H +#define OBJECTS_H + +#define MAX_OBJECTS 200 +#define MAX_OBJ_USED 56 + +/* Object types + * + * Object types must start with 1 and go up. 0 is reserved + * The implementation of the spread-util library uses the following object ids + * so applications must start with higher numbers. + */ + +#define TIME_EVENT 1 + +#define FIRST_APPLICATION_OBJECT_TYPE 2 + +#include "objects_local.h" + +/* Special objects */ + +/* This represents an object of undertermined or + * variable type. Can only be used when appropriate. + * i.e. when internal structure of object is not accessed. + * This is mainly used with queues + */ +#define UNKNOWN_OBJ (MAX_OBJ_USED -1) + + +#endif /* OBJECTS_H */ + + Copied: libspreadutil/trunk/include/objects_local.h (from rev 467, libspreadutil/trunk/src/objects_local.h) =================================================================== --- libspreadutil/trunk/include/objects_local.h (rev 0) +++ libspreadutil/trunk/include/objects_local.h 2012-03-04 19:32:10 UTC (rev 481) @@ -0,0 +1,59 @@ +/* + * The Spread Toolkit. + * + * The contents of this file are subject to the Spread Open-Source + * License, Version 1.0 (the ``License''); you may not use + * this file except in compliance with the License. You may obtain a + * copy of the License at: + * + * http://www.spread.org/license/ + * + * or in the file ``license.txt'' found in this distribution. + * + * Software distributed under the License is distributed on an AS IS basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Creators of Spread are: + * Yair Amir, Michal Miskin-Amir, Jonathan Stanton, John Schultz. + * + * Copyright (C) 1993-2009 Spread Concepts LLC <[email protected]> + * + * All Rights Reserved. + * + * Major Contributor(s): + * --------------- + * Ryan Caudy [email protected] - contributions to process groups. + * Claudiu Danilov [email protected] - scalable wide area support. + * Cristina Nita-Rotaru [email protected] - group communication security. + * Theo Schlossnagle [email protected] - Perl, autoconf, old skiplist. + * Dan Schoenblum [email protected] - Java interface. + * + */ + + +/* objects.h + * main declarations of objects + * Copyright 1997-2012 Jonathan Stanton <[email protected]> + * + */ + +#ifndef OBJECTS_LOCAL_H +#define OBJECTS_LOCAL_H + +/* Object types + * + * Object types must start with FIRST_APPLICATION_OBJECT_TYPE and go up. + */ + +/* Sample declartion of object number +#define MY_FIRST_OBJ (FIRST_APPLICATION_OBJECT_TYPE + 1) +*/ + + +/* Highest valid object number is defined in objects.h as UNKNOWN_OBJ */ + +#endif /* OBJECTS_LOCAL_H */ + + Deleted: libspreadutil/trunk/src/objects.h =================================================================== --- libspreadutil/trunk/src/objects.h 2012-03-04 19:30:49 UTC (rev 480) +++ libspreadutil/trunk/src/objects.h 2012-03-04 19:32:10 UTC (rev 481) @@ -1,73 +0,0 @@ -/* - * The Spread Toolkit. - * - * The contents of this file are subject to the Spread Open-Source - * License, Version 1.0 (the ``License''); you may not use - * this file except in compliance with the License. You may obtain a - * copy of the License at: - * - * http://www.spread.org/license/ - * - * or in the file ``license.txt'' found in this distribution. - * - * Software distributed under the License is distributed on an AS IS basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Creators of Spread are: - * Yair Amir, Michal Miskin-Amir, Jonathan Stanton, John Schultz. - * - * Copyright (C) 1993-2009 Spread Concepts LLC <[email protected]> - * - * All Rights Reserved. - * - * Major Contributor(s): - * --------------- - * Ryan Caudy [email protected] - contributions to process groups. - * Claudiu Danilov [email protected] - scalable wide area support. - * Cristina Nita-Rotaru [email protected] - group communication security. - * Theo Schlossnagle [email protected] - Perl, autoconf, old skiplist. - * Dan Schoenblum [email protected] - Java interface. - * - */ - - -/* objects.h - * main declarations of objects - * Copyright 1997-2012 Jonathan Stanton <[email protected]> - * - */ - -#ifndef OBJECTS_H -#define OBJECTS_H - -#define MAX_OBJECTS 200 -#define MAX_OBJ_USED 56 - -/* Object types - * - * Object types must start with 1 and go up. 0 is reserved - * The implementation of the spread-util library uses the following object ids - * so applications must start with higher numbers. - */ - -#define TIME_EVENT 1 - -#define FIRST_APPLICATION_OBJECT_TYPE 2 - -#include "objects_local.h" - -/* Special objects */ - -/* This represents an object of undertermined or - * variable type. Can only be used when appropriate. - * i.e. when internal structure of object is not accessed. - * This is mainly used with queues - */ -#define UNKNOWN_OBJ (MAX_OBJ_USED -1) - - -#endif /* OBJECTS_H */ - - Deleted: libspreadutil/trunk/src/objects_local.h =================================================================== --- libspreadutil/trunk/src/objects_local.h 2012-03-04 19:30:49 UTC (rev 480) +++ libspreadutil/trunk/src/objects_local.h 2012-03-04 19:32:10 UTC (rev 481) @@ -1,59 +0,0 @@ -/* - * The Spread Toolkit. - * - * The contents of this file are subject to the Spread Open-Source - * License, Version 1.0 (the ``License''); you may not use - * this file except in compliance with the License. You may obtain a - * copy of the License at: - * - * http://www.spread.org/license/ - * - * or in the file ``license.txt'' found in this distribution. - * - * Software distributed under the License is distributed on an AS IS basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Creators of Spread are: - * Yair Amir, Michal Miskin-Amir, Jonathan Stanton, John Schultz. - * - * Copyright (C) 1993-2009 Spread Concepts LLC <[email protected]> - * - * All Rights Reserved. - * - * Major Contributor(s): - * --------------- - * Ryan Caudy [email protected] - contributions to process groups. - * Claudiu Danilov [email protected] - scalable wide area support. - * Cristina Nita-Rotaru [email protected] - group communication security. - * Theo Schlossnagle [email protected] - Perl, autoconf, old skiplist. - * Dan Schoenblum [email protected] - Java interface. - * - */ - - -/* objects.h - * main declarations of objects - * Copyright 1997-2012 Jonathan Stanton <[email protected]> - * - */ - -#ifndef OBJECTS_LOCAL_H -#define OBJECTS_LOCAL_H - -/* Object types - * - * Object types must start with FIRST_APPLICATION_OBJECT_TYPE and go up. - */ - -/* Sample declartion of object number -#define MY_FIRST_OBJ (FIRST_APPLICATION_OBJECT_TYPE + 1) -*/ - - -/* Highest valid object number is defined in objects.h as UNKNOWN_OBJ */ - -#endif /* OBJECTS_LOCAL_H */ - -