Browse Source

pretty some types, real minor

OPENBSD_2_3
deraadt 27 years ago
parent
commit
7b93eaaf8c
2 changed files with 9 additions and 9 deletions
  1. +7
    -7
      src/include/rpc/pmap_prot.h
  2. +2
    -2
      src/include/rpc/rpc_des.h

+ 7
- 7
src/include/rpc/pmap_prot.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: pmap_prot.h,v 1.2 1997/09/21 10:46:12 niklas Exp $ */
/* $OpenBSD: pmap_prot.h,v 1.3 1998/02/10 06:25:32 deraadt Exp $ */
/* $NetBSD: pmap_prot.h,v 1.4 1994/10/26 00:57:00 cgd Exp $ */ /* $NetBSD: pmap_prot.h,v 1.4 1994/10/26 00:57:00 cgd Exp $ */
/* /*
@ -52,13 +52,13 @@
* TRUE is success, FALSE is failure. Un-registers pair * TRUE is success, FALSE is failure. Un-registers pair
* [prog, vers]. prot and port are ignored. * [prog, vers]. prot and port are ignored.
* *
* PMAPPROC_GETPORT(struct pmap) returns (long unsigned).
* PMAPPROC_GETPORT(struct pmap) returns (unsigned long).
* 0 is failure. Otherwise returns the port number where the pair * 0 is failure. Otherwise returns the port number where the pair
* [prog, vers] is registered. It may lie! * [prog, vers] is registered. It may lie!
* *
* PMAPPROC_DUMP() RETURNS (struct pmaplist *) * PMAPPROC_DUMP() RETURNS (struct pmaplist *)
* *
* PMAPPROC_CALLIT(unsigned, unsigned, unsigned, string<>)
* PMAPPROC_CALLIT(unsigned int, unsigned int, unsigned int, string<>)
* RETURNS (port, string<>); * RETURNS (port, string<>);
* usage: encapsulatedresults = PMAPPROC_CALLIT(prog, vers, proc, encapsulatedargs); * usage: encapsulatedresults = PMAPPROC_CALLIT(prog, vers, proc, encapsulatedargs);
* Calls the procedure on the local machine. If it is not registered, * Calls the procedure on the local machine. If it is not registered,
@ -87,10 +87,10 @@
#define PMAPPROC_CALLIT ((u_long)5) #define PMAPPROC_CALLIT ((u_long)5)
struct pmap { struct pmap {
long unsigned pm_prog;
long unsigned pm_vers;
long unsigned pm_prot;
long unsigned pm_port;
unsigned long pm_prog;
unsigned long pm_vers;
unsigned long pm_prot;
unsigned long pm_port;
}; };
struct pmaplist { struct pmaplist {


+ 2
- 2
src/include/rpc/rpc_des.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: rpc_des.h,v 1.2 1997/09/21 10:46:14 niklas Exp $ */
/* $OpenBSD: rpc_des.h,v 1.3 1998/02/10 06:25:33 deraadt Exp $ */
/* crypto/des/rpc_des.h */ /* crypto/des/rpc_des.h */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au) /* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
@ -112,7 +112,7 @@ struct desparams {
enum desdir des_dir; /* direction */ enum desdir des_dir; /* direction */
enum desmode des_mode; /* mode */ enum desmode des_mode; /* mode */
unsigned char des_ivec[8]; /* input vector */ unsigned char des_ivec[8]; /* input vector */
unsigned des_len; /* number of bytes to crypt */
unsigned int des_len; /* number of bytes to crypt */
union { union {
unsigned char UDES_data[DES_QUICKLEN]; unsigned char UDES_data[DES_QUICKLEN];
unsigned char *UDES_buf; unsigned char *UDES_buf;


Loading…
Cancel
Save