MCPcopy Create free account
hub / github.com/Kitware/CMake / Synchronize_Linked_Fields

Function Synchronize_Linked_Fields

Source/CursesDialog/form/frm_driver.c:955–976  ·  view source on GitHub ↗

--------------------------------------------------------------------------- | Facility : libnform | Function : static int Synchronize_Linked_Fields(FIELD * field) | | Description : Propagate the Synchronize_Field function to all linked | fields. The first error that occurs in the sequence | of updates is the returnvalue. | | Return

Source from the content-addressed store, hash-verified

953| Return Values : E_OK - success
954| E_BAD_ARGUMENT - invalid field pointer
955| E_SYSTEM_ERROR - some severe basic error
956+--------------------------------------------------------------------------*/
957static int Synchronize_Linked_Fields(FIELD * field)
958{
959 FIELD *linked_field;
960 int res = E_OK;
961 int syncres;
962
963 if (!field)
964 return(E_BAD_ARGUMENT);
965
966 if (!field->link)
967 return(E_SYSTEM_ERROR);
968
969 for(linked_field = field->link;
970 linked_field!= field;
971 linked_field = linked_field->link )
972 {
973 if (((syncres=Synchronize_Field(linked_field)) != E_OK) &&
974 (res==E_OK))
975 res = syncres;
976 }
977 return(res);
978}
979

Callers 2

_nc_Internal_ValidationFunction · 0.85
set_field_bufferFunction · 0.85

Calls 1

Synchronize_FieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…