ref: bf645afaac246967b9590ae7463f243c11d97480
dir: /sys/src/cmd/upas/bayes/msgdb.h/
typedef struct Msgdb Msgdb; Msgdb *mdopen(char*, int); long mdget(Msgdb*, char*); void mdput(Msgdb*, char*, long); void mdenum(Msgdb*); int mdnext(Msgdb*, char**, long*); void mdclose(Msgdb*);