Re: alternate simplified proposal #1 (fwd)

Eric Salo (salo@mrjones.engr.sgi.com)
Mon, 10 Jun 1996 15:26:53 -0700

I agree that some unification here would be very nice. For example, we now have
a new interface for building INFO handles when we want to spawn, and we have
just decided that these should be constructed out of {key,value} strings. But
we have no such interface for building the cmd line arrays, which is a real
wart. All of this nonsense is only needed because we care about FORTRAN
strings, so that's probably the right abstraction to use, I think. So how about
the following:

MPI_String_create(MPI_String *)
MPI_String_append(MPI_String *, char *)
MPI_String_dup(MPI_String, MPI_String *)
MPI_String_delete(MPI_String *)

This would allow us to build both key/val pairs and command lines, since we can
just pass "key=val" strings where appropriate.

-- 
Eric Salo         Silicon Graphics Inc.             "Do you know what the
(415)933-2998     2011 N. Shoreline Blvd, 7L-802     last Xon said, just
salo@sgi.com      Mountain View, CA   94043-1389     before he died?"