RD_RemoveImage 7 September 2020 Rivendell C Library Manual rd_removeimage Rivendell Remove Cut C Library Function Fred Gleason fredg@paravelsystems.com Rivendell C Library Author #include <rivwebcapi/rd_removeimage.h> int RD_RemoveImage const char hostname[] const char username[] const char passwd[] const char ticket[] const unsigned img_id const char user_agent[] Description RD_RemoveImage is the function to use to remve an RSS image from the remote RSS repository. RD_RemoveImage function call fields FIELD NAME FIELD TYPE MEANING REMARKS hostname Character Array Name Of Rivendell DB Host Mandatory username Character Array Rivendell User Name Mandatory When NO Ticket Provided passwd Character Array Rivendell User Password Mandatory When NO Ticket Provided ticket Character Array Rivendell Authentification Ticket Mandatory When NO User/Password Pair Provided. img_id unsigned integer Image ID Mandatory user_agent Character Array User Agent Value put into HTTP request Optional (default is Rivendell-C-API/x.x.x)
RETURN VALUE On success, zero is returned. If a server error occurs a -1 is returned. If a client error occurs a specific error number is returned. ERRORS 400 Missing Image ID 403 User Authentification Error. 404 Unauthorized or No Such Image nnn Unknown Error Occurred.