[OpenAFS-devel] "struct buf" in src/afs (libafs/libuafs)

Derek Atkins warlord@MIT.EDU
13 Mar 2002 11:03:24 -0500


Why not M-x replace-string "struct buf *" "void *"?

-derek

"Neulinger, Nathan" <nneul@umr.edu> writes:

> Perhaps it's only present on some architectures, and not on others.
> Seems to me that something similar to the dummy define I did would be
> needed, but possibly in a big ifdef to check and see if it's defined or
> not.
> 
> I just checked, looks like it is defined on FBSD but not on Linux.
> Haven't looked at solaris or hpux yet. So, probably something that
> defines it in certain cases, and not in others would be worthwhile. 
> 
> Anyone interested in throwing together an autoconf check for struct buf
> being known?
> 
> -- Nathan
> 
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-4841
> Computing Services                       Fax: (573) 341-4216
> 
> 
> > -----Original Message-----
> > From: Craig_Everhart@transarc.com 
> > [mailto:Craig_Everhart@transarc.com] 
> > Sent: Wednesday, March 13, 2002 9:31 AM
> > To: Neulinger, Nathan
> > Subject: Re: [OpenAFS-devel] "struct buf" in src/afs (libafs/libuafs)
> > 
> > 
> > Hm.  There really is a "struct buf" in the kernel, defined in 
> > some file
> > like /usr/include/sys/buf.h (on some kernels).  It's probably pretty
> > important for the cache manager to run on the client side, to use the
> > kernel version as opposed to a dummy version.
> > 
> > 		Craig
> > 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available