Ejemplo n.º 1
0
int bm_isdupe( char *call, int band ) {
    int found = -1;
    struct t_qtc_store_obj *qtc_obj;

    /* spot for warc bands are never dupes */
    if (IsWarcIndex(band))
	return 0;

    found = searchcallarray(call);

    if (found == -1)		/* new call */
	return 0;

    if (qtcdirection > 0) {
        qtc_obj = qtc_get(call);
	if (qtc_obj->total > 0 && qtc_obj->total < 10) {
	    return 0;
	}
	if (qtc_obj->total == 0 && (qtc_obj->capable > 0)) {
	    return 0;
	}
    }
    if (worked[found].band & inxes[band]) {
	return 1;
    }
    else {
	return 0;
    }
}
Ejemplo n.º 2
0
Archivo: bandmap.c Proyecto: patlc/tlf
int bm_isdupe( char *call, int band ) {
    int found = -1;
    
    /* spot for warc bands are never dupes */
    if (!inxes[band])
	return 0;

    found = searchcallarray(call);
    
    if (found == -1)		/* new call */
	return 0;
 
    if (call_band[found] & inxes[band])
	return 1;
    else
	return 0;
}