Browse code

core: fixup helper function for spve - igp parameters

Daniel-Constantin Mierla authored on 19/07/2012 08:23:20
Showing 2 changed files
... ...
@@ -557,3 +557,27 @@ int fixup_igp_all(void** param, int param_no)
557 557
 {
558 558
 	return fixup_igp_null(param, 1);
559 559
 }
560
+
561
+/**
562
+ *
563
+ */
564
+int fixup_spve_igp(void** param, int param_no)
565
+{
566
+	if(param_no==1)
567
+		return fixup_spve_null(param, 1);
568
+	if(param_no==2)
569
+		return fixup_igp_null(param, 1);
570
+	return E_UNSPEC;
571
+}
572
+
573
+/**
574
+ *
575
+ */
576
+int fixup_free_spve_igp(void** param, int param_no)
577
+{
578
+	if(param_no==1)
579
+		return fixup_free_spve_null(param, 1);
580
+	if(param_no==2)
581
+		return fixup_free_igp_null(param, 1);
582
+	return E_UNSPEC;
583
+}
... ...
@@ -131,6 +131,9 @@ int fixup_free_spve_str(void** param, int param_no);
131 131
 int fixup_spve_all(void** param, int param_no);
132 132
 int fixup_igp_all(void** param, int param_no);
133 133
 
134
+int fixup_spve_igp(void** param, int param_no);
135
+int fixup_free_spve_igp(void** param, int param_no);
136
+
134 137
 /** get the corresp. free fixup function.*/
135 138
 free_fixup_function mod_fix_get_fixup_free(fixup_function f);
136 139