);\n'                     else:                         raise Exception(parameter['name'] + " has an invalid context " + parameter['context'])                 else:                     if parameter['context'] == 'G':                         output_string = 'const ' + output_string + '(struct loadparm_context *);\n'                     elif parameter['context'] == 'S':                         output_string = 'const ' + output_string + '(struct loadparm_service *, struct loadparm_service *);\n'                     else:                         raise Exception(parameter['name'] + " has an invalid param type " + parameter['type'])             else:                 if parameter['context'] == 'G':                     output_string += '(struct loadparm_context *);\n'                 elif parameter['context'] == 'S':                     output_string += '(struct loadparm_service *, struct loadparm_service *);\n'                 else:                     raise Exception(parameter['name'] + " has an invalid param type " + parameter['type'])              file_out.write(output_string)     