db/smdb: add USER_PTR types