ee03b19c7a
o rename three patches to 'update-patches' naming conventions o add 64bit patches o add other tidbits from my opencm://opencm.org/everyone/todd@fries.net/home/merge-candidate branch
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
$OpenBSD: patch-base_src_common_Serializable_h,v 1.1 2002/08/27 17:43:14 todd Exp $
|
|
--- base/src/common/Serializable.h.orig Mon Jul 29 22:48:35 2002
|
|
+++ base/src/common/Serializable.h Tue Aug 27 12:25:27 2002
|
|
@@ -56,8 +56,8 @@ enum {
|
|
typedef struct DeserializeInfo DeserializeInfo;
|
|
struct DeserializeInfo {
|
|
struct SerialType *st;
|
|
- unsigned long tyConst; /* type constant as serialized */
|
|
- unsigned long ver; /* version number as serialized */
|
|
+ u_int32_t tyConst; /* type constant as serialized */
|
|
+ u_int32_t ver; /* version number as serialized */
|
|
};
|
|
|
|
#define OBTYPE(nm,prefix,abbrev,ver) \
|
|
@@ -76,8 +76,8 @@ struct DeserializeInfo {
|
|
canonicalize the internal representation before displaying the
|
|
object. */
|
|
struct SerialType {
|
|
- unsigned long typ; /* type constant for this object */
|
|
- unsigned long ver; /* version constant for this object */
|
|
+ u_int32_t typ; /* type constant for this object */
|
|
+ u_int32_t ver; /* version constant for this object */
|
|
const char * tyName; /* used in texty formats */
|
|
const char * prefix; /* used as first part of truename */
|
|
void * (*deserialize) (const DeserializeInfo *, SDR_stream *);
|
|
@@ -99,7 +99,7 @@ struct Serializable {
|
|
#define serTrueName ser.ser_trueName
|
|
#define serPrefix ser.ser_type->prefix
|
|
|
|
-SerialType *ser_find_type(unsigned long ty);
|
|
+SerialType *ser_find_type(u_int32_t ty);
|
|
void ser_init(void);
|
|
|
|
const char *ser_getTrueName(const void *);
|