From: Jeff S. <why...@ya...> - 2004-06-04 03:36:44
|
I am working on some changes to src/libmdb/backend.c. There are a couple of small API changes that would help clean things up in my opinion. 1. a. from mdb_register_backend (MdbBackend *, char *) to mdb_register_backend (MdbBackendType *, char *) and make the memory allocation done inside this function. b. This function is only called from mdb_init_backends, which is in the same file. Should we make this function file-local ('static')? 2. mdb_get_relationships currently returns an empty string when unsuccessful. Returning a NULL would be more in line with standard practice, and would be a little simpler. This change would require minor changes to gmdb2/schema.c and util/mdb-schema.c. -- Jeff Smith __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |