Lines Matching refs:systemg
103 if ((systemg.name = strdup(uts.nodename)) == NULL) in init_actvals()
114 if ((systemg.descr = malloc(len)) == NULL) { in init_actvals()
118 sprintf(systemg.descr, "%s %s %s %s", uts.nodename, hostid, uts.sysname, in init_actvals()
125 systemg.object_id = oid_freeBSDVersion; in init_actvals()
128 systemg.object_id.len < ASN_MAXOIDLEN) { in init_actvals()
129 systemg.object_id.subs[systemg.object_id.len] = 0; in init_actvals()
134 systemg.object_id.subs[systemg.object_id.len] = num; in init_actvals()
136 systemg.object_id.len++; in init_actvals()
262 return (string_save(value, ctx, -1, &systemg.descr)); in op_system_group()
267 return (oid_save(value, ctx, &systemg.object_id)); in op_system_group()
270 return (string_save(value, ctx, -1, &systemg.contact)); in op_system_group()
273 return (string_save(value, ctx, -1, &systemg.name)); in op_system_group()
276 return (string_save(value, ctx, -1, &systemg.location)); in op_system_group()
284 string_rollback(ctx, &systemg.descr); in op_system_group()
287 oid_rollback(ctx, &systemg.object_id); in op_system_group()
290 string_rollback(ctx, &systemg.contact); in op_system_group()
293 string_rollback(ctx, &systemg.name); in op_system_group()
296 string_rollback(ctx, &systemg.location); in op_system_group()
329 return (string_get(value, systemg.descr, -1)); in op_system_group()
331 return (oid_get(value, &systemg.object_id)); in op_system_group()
336 return (string_get(value, systemg.contact, -1)); in op_system_group()
338 return (string_get(value, systemg.name, -1)); in op_system_group()
340 return (string_get(value, systemg.location, -1)); in op_system_group()
342 value->v.integer = systemg.services; in op_system_group()
345 value->v.uint32 = systemg.or_last_change; in op_system_group()