VSS Package Index  Abraxas VSS Home Table of Contents

Abraxas Software, Inc.


CodeCheck Voting System Standards Test Suite - v427a.c

v427a.c(1): 
v427a.c(2): /*
427 a. All modules shall contain headers. For small modules of 10 lines or less, the
header may be limited to identification of unit and revision information. Other
header information should be included in the small unit headers if not clear from
the actual lines of code.
v427a.c(7): */
v427a.c(8): 
v427a.c(9): 
v427a.c(10): /* =========================================================================*/
v427a.c(11): /**                                                                           
    FUNCTION:      VSS_BeginTasks()
v427a.c(13): 
    PURPOSE:       Initialize all tasks.
v427a.c(15): 
    PARAMETERS:
		none
v427a.c(18): 
    OUTPUT PARAMETERS:
       	Integer
v427a.c(21): 
    RETURN VALUE:
       	int = 0 for success or positive value for failure 
v427a.c(24): 
    USE OF GLOBALS:
v427a.c(26): 
v427a.c(27): 
    FILES REFERENCED:
v427a.c(29):  
v427a.c(30): 
    FUNCTIONS CALLED:
v427a.c(32): 
        read
v427a.c(34): 
    REVISIONS:
v427a.c(36): 
v427a.c(37): */
v427a.c(38): 



Function Name: VSS_BeginTasks()

v427a.c(39): VSS_BeginTasks() {
v427a.c(40): 
v427a.c(41): 
v427a.c(42): 
v427a.c(43): 
v427a.c(44): // line 5
v427a.c(45): 
v427a.c(46): 
v427a.c(47): 
v427a.c(48): // line 10
v427a.c(49): 
v427a.c(50): }
v427a.c(51): 
// bad case, no header
v427a.c(53): 
v427a.c(54): 



Function Name: VSS_BeginTask_BAD()

v427a.c(55): VSS_BeginTask_BAD() {
v427a.c(56): 
v427a.c(57): 
v427a.c(58): 	read();
v427a.c(59): 
v427a.c(60): // line 5
v427a.c(61): 
v427a.c(62): 
v427a.c(63): 
v427a.c(64): // line 10
v427a.c(65): 	return(0);
v427a.c(66): }
v427a.c(67): 



Function Name: v5tiny()

v427a.c(68): v5tiny() {
v427a.c(69): 	// ok, small
v427a.c(70): }

VSS Package Index  Abraxas VSS Home Table of Contents

CodeCheck Copyright (c) 1988-2006 by Abraxas Software Inc. (R). All rights reserved.