/* Sort with respect to passwd ordering. */ int spw_sort() { extern struct commonio_db *__pw_get_db(); return commonio_sort_wrt(&shadow_db, __pw_get_db()); }
/* Sort with respect to passwd ordering. */ int spw_sort () { #ifdef WITH_TCB if (getdef_bool ("USE_TCB")) { return 0; } #endif /* WITH_TCB */ return commonio_sort_wrt (&shadow_db, __pw_get_db ()); }
/* Sort with respect to group ordering. */ int sgr_sort () { extern struct commonio_db *__gr_get_db (); return commonio_sort_wrt (&gshadow_db, __gr_get_db ()); }