FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Delagent to delete uploaded packages. More...
#include "delagent.h"
Go to the source code of this file.
Functions | |
void | usage (char *Name) |
void | writeMessageAfterDelete (char *kind, long id, char *userName, int returnedCode) |
Write message to user after success/failure. More... | |
int | main (int argc, char *argv[]) |
main function for the delagent More... | |
Variables | |
char | BuildVersion [] ="delagent build version: NULL.\n" |
Delagent to delete uploaded packages.
delagent: Remove an upload from the DB and repository
Definition in file delagent.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
main function for the delagent
There are 2 ways to use the delagent agent:
+-----------------------+ | Command Line Analysis | +-----------------------+List or delete uploads.
+----------------------+ | Agent Based Analysis | +----------------------+
To run the delagent as an agent
argc | the number of command line arguments |
argv | the command line arguments |
Definition at line 151 of file delagent.c.
void writeMessageAfterDelete | ( | char * | kind, |
long | id, | ||
char * | userName, | ||
int | returnedCode | ||
) |
Write message to user after success/failure.
kind | Upload/Folder |
id | Upload/Folder id |
userName | User created the request |
returnedCode | Code returned by agent |
Definition at line 98 of file delagent.c.