Parent Directory | Revision Log
*** empty log message ***
1 | cafagna | 1.1 | //Cut file determination/////////////////////////////// |
2 | #include "descript.h" | ||
3 | cafagna | 1.2 | #include "flag.h" |
4 | cafagna | 1.1 | |
5 | int restrict(int buffer3[], long long int numP[], int Rout) | ||
6 | { | ||
7 | int i; | ||
8 | int counter=0; | ||
9 | for (i=7;i<1017;i++) | ||
10 | { | ||
11 | cafagna | 1.2 | if ((buffer3[i]==(int)(CODE1)&&buffer3[i+1]==(int)(CODE2)&& buffer3[i+2]==(int)(CODE3)&&buffer3[i+3]==Rout)|| |
12 | cafagna | 1.1 | (buffer3[i]==(int)(CODE1)&&buffer3[i+1]==(int)(CODE2)&& buffer3[i+2]==(int)(CODE3)&&numP[2]==1)) |
13 | {counter=i;} | ||
14 | } | ||
15 | return counter; | ||
16 | } |
ViewVC Help | |
Powered by ViewVC 1.1.23 |