cursor/changeAdultName.c
static RDM_RETCODE changeAdultName (RDM_CURSOR adult, char *newName)
{
char name[32];
adult, COL_ADULT_ADULT_NAME, name, sizeof (name), NULL);
if (rc == sOKAY)
{
printf ("Change name from %s to %s\n", name, newName);
adult, COL_ADULT_ADULT_NAME, newName, strlen (newName) + 1);
}
return rc;
}
struct RDM_CURSOR_S * RDM_CURSOR
Definition: rdmtypes.h:306
RDM_RETCODE rdm_cursorUpdateColumn(RDM_CURSOR cursor, RDM_COLUMN_ID columnId, const void *columnValue, size_t bytesIn)
Update a single column in a row.
@ sOKAY
Definition: rdmretcodetypes.h:97
RDM_RETCODE rdm_cursorReadColumn(RDM_CURSOR cursor, RDM_COLUMN_ID columnId, void *columnValue, size_t bytesIn, size_t *bytesOut)
Read a single column from a table row.
RDM_RETCODE
RDM status and error return codes.
Definition: rdmretcodetypes.h:43