X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/c29d86ce91159cc6ddcb4266903f0aafe9992e01..dd8f5100e766813dca62a82c6b99ebf3648f2448:/lincan/src/finish.c diff --git a/lincan/src/finish.c b/lincan/src/finish.c index 922b4d3..9016ae8 100644 --- a/lincan/src/finish.c +++ b/lincan/src/finish.c @@ -6,7 +6,10 @@ #include "../include/setup.h" - +/** + * msgobj_done - destroys one CAN message object + * @obj: pointer to CAN message object structure + */ void msgobj_done(struct msgobj_t *obj) { int delayed=0; @@ -44,6 +47,10 @@ void msgobj_done(struct msgobj_t *obj) } +/** + * canchip_done - destroys one CAN chip representation + * @chip: pointer to CAN chip structure + */ void canchip_done(struct chip_t *chip) { @@ -73,6 +80,10 @@ void canchip_done(struct chip_t *chip) } +/** + * candevice_done - destroys representation of one CAN device/board + * @candev: pointer to CAN device/board structure + */ void candevice_done(struct candevice_t *candev) { int i; @@ -93,6 +104,10 @@ void candevice_done(struct candevice_t *candev) candev->hwspecops=NULL; } +/** + * candevice_done - destroys representation of all CAN devices/boards + * @canhw: pointer to the root of all CAN hardware representation + */ void canhardware_done(struct canhardware_t *canhw) { int i;