Apple AppleShare 3.0 File Server Controls Manual de usuario Pagina 36

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 79
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 35
{ clear all SEwhichAFPFlags, }
theSEQEntry.SEwhichAFPFlag[0] := 0;
theSEQEntry.SEwhichAFPFlag[1] := 0;
{ and clear all SEwhichSCFlags. }
theSEQEntry.SEwhichSCFlag := 0;
{ Allocate some memory for the server event }
{ records and initialize the buffer queues. }
seRecArrayPtr := NewPtr(kNumberServerEvents *
LongInt(sizeof(SERecQElem)));
IF seRecArrayPtr <> NIL THEN
BEGIN
{ Initialize the usedQ header. }
usedQ.qFlags := 0;
usedQ.qHead := NIL;
usedQ.qTail := NIL;
{ Initialize the freeQ header. }
freeQ.qFlags := 0;
freeQ.qHead := NIL;
freeQ.qTail := NIL;
{ The free queue holds all of our server }
{ event records initially, so add the }
{ SERecQElems to the freeQ. }
theQElemsPtr := seRecArrayPtr;
FOR index := 1 TO kNumberServerEvents DO
BEGIN
Enqueue(QElemPtr(theQElemsPtr), @freeQ);
theQElemsPtr := Ptr(ORD4(theQElemsPtr) +
LongInt(sizeof(SERecQElem)));
END;
Vista de pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 78 79

Comentarios a estos manuales

Sin comentarios