userlibandfileserver/fileserver/sfsrv/cl_notification.h
changeset 299 b5a01337d018
parent 0 a41df078684a
equal deleted inserted replaced
297:b2826f67641f 299:b5a01337d018
    59  * Different notification types have different data associated with them.
    59  * Different notification types have different data associated with them.
    60  *  
    60  *  
    61  * All types have the following data and are aligned in the buffer like so:
    61  * All types have the following data and are aligned in the buffer like so:
    62  * Word1 : Size (TUint16 - upper 2 bytes) , NameLength (TUint16 - lower 2 bytes),
    62  * Word1 : Size (TUint16 - upper 2 bytes) , NameLength (TUint16 - lower 2 bytes),
    63  * Word2 : Type (TUint - 4 bytes)
    63  * Word2 : Type (TUint - 4 bytes)
    64  * [not yet supported - Word3 : UID (TUint32 - 4 Bytes) ]
    64  * Word3 : UID (TUint32 - 4 Bytes) 
    65  * 
    65  * 
    66  @internalTechnology
    66  @internalTechnology
    67  @released
    67  @released
    68  */
    68  */
    69 const TInt KNotificationHeaderSize = (sizeof(TUint16)*2)+(sizeof(TUint));
    69 const TInt KNotificationHeaderSize = (sizeof(TUint16)*2)+sizeof(TUint)+sizeof(TUint32);
    70 //
       
    71 //When UID is added:
       
    72 //const TInt KNotificationHeaderSize = (sizeof(TUint16)*2)+(sizeof(TUint))+sizeof(TUint32);
       
    73 
    70 
    74 /*
    71 /*
    75  * This is the minimum allowed size of the buffer set by the client that is
    72  * This is the minimum allowed size of the buffer set by the client that is
    76  * equal to the size of a notification of maximum length and an overflow
    73  * equal to the size of a notification of maximum length and an overflow
    77  *
    74  *