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