Lines Matching defs:field
39 | Function : int set_field_type(FIELD *field, FIELDTYPE *type,...)
41 | Description : Associate the specified fieldtype with the field.
42 | Certain field types take additional arguments. Look
43 | at the spec of the field types !
49 set_field_type(FIELD *field, FIELDTYPE *type,...)
55 T((T_CALLED("set_field_type(%p,%p)"), (void *)field, (void *)type));
59 Normalize_Field(field);
60 _nc_Free_Type(field);
62 field->type = type;
63 field->arg = (void *)_nc_Make_Argument(field->type, &ap, &err);
67 _nc_Free_Argument(field->type, (TypeArgument *)(field->arg));
68 field->type = (FIELDTYPE *)0;
69 field->arg = (void *)0;
74 if (field->type)
75 field->type->ref++;
84 | Function : FIELDTYPE *field_type(const FIELD *field)
86 | Description : Retrieve the associated fieldtype for this field.
91 field_type(const FIELD *field)
93 T((T_CALLED("field_type(%p)"), (const void *)field));
94 returnFieldType(Normalize_Field(field)->type);