cursor/shutdownClub.c
static
RDM_RETCODE
shutdownClub (
RDM_CURSOR
club)
{
RDM_RETCODE
rc;
rc =
rdm_cursorDeleteRow
(club);
if
(rc ==
sOKAY
)
{
printf (
"Club shut down\n"
);
}
else
if
(rc ==
eHASMEMBERS
)
{
printf (
"Club still has members and can therefor not be shut down\n"
);
rc =
sOKAY
;
}
return
rc;
}