enum nss_status ret = NSS_STATUS_SUCCESS;
pthread_mutex_lock(&mutex);
struct librole_graph G;
struct librole_graph G = {};
int i, result;
librole_group_collector col, ans;
librole_group_collector col = {}, ans = {};
result = librole_graph_init(&G);
if (result != LIBROLE_OK) {
comment = select_line_part(line, len, &last, &i, ':');
if (comment && *last == '\0')
return result;
goto libnss_role_parse_line_error;
drop_quotes(&last);
result = librole_get_gid(last, &role.gid);
return LIBROLE_OUT_OF_RANGE;
f = fopen(s, "r");
if (!f)
if (!f) {
return LIBROLE_IO_ERROR;
result = LIBROLE_IO_ERROR;
goto libnss_role_reading_out_free;
}
while(1) {
c = fgetc(f);
libnss_role_reading_out:
free(str);
fclose(f);
libnss_role_reading_out_free: