* PM_get_minmax_serial() * * * * Returns the min or max serial number. * * * * Returns: * * min (max=0) or max (max=1) serial number * * -1 in case of an error * * * * Note: * * min serial= MIN(serial_id)+1 * * MIN(serial_id) represents legacy RIPE.CURRENSERIAL * * of the snapshot * * *
Prototyped in: | modules/pm/protocol_mirror.h | |
Calls: | SQ_error(), SQ_execute_query(), SQ_free_result(), SQ_get_column_string(), SQ_row_next(), atol(), fprintf(), free(), sprintf() |
Prototyped in: | modules/pm/protocol_mirror.h | |
Calls: | atlast() | modules/pm/pm_serials.c |
getop() | modules/pm/pm_serials.c | |
SQ_error(), SQ_execute_query(), SQ_free_result(), SQ_get_column_string(), SQ_row_next(), fprintf(), free(), sprintf() |
Calls: | atoi(), free(), get_field_str(), sprintf() | |
Called by: | PM_get_serial_object() | modules/pm/pm_serials.c |
Calls: | atoi(), free(), get_field_str(), sprintf() | |
Called by: | PM_get_serial_object() | modules/pm/pm_serials.c |