ref: a5a475be2a9d72c7e60bcc6f5b013ca655384d7a
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*);