Example #1
0
/* 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());
}
Example #2
0
/* 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 ());
}