X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=vss.c;h=b18c73139a51eb86de3754d356c6727d1bf4d30d;hp=efd0c5ea8e43402fc85f801fc87f039674cf91a8;hb=1714e2b80218ef5d7e0275a93f8c2dd9b1809861;hpb=965eae5ba6664349ff74977439f3214142a3bc9a diff --git a/vss.c b/vss.c index efd0c5ea..b18c7313 100644 --- a/vss.c +++ b/vss.c @@ -261,9 +261,13 @@ struct timeval *vss_chunk_time(void) return &mmd->afd.afhi.chunk_tv; } +/** The possible states of the afs socket. See \ref afs_socket. */ enum afs_socket_status { + /** Socket is inactive. */ AFS_SOCKET_READY, + /** Socket fd was included in the write fd set for select(). */ AFS_SOCKET_CHECK_FOR_WRITE, + /** vss wrote a request to the socket and waits for afs to reply. */ AFS_SOCKET_AFD_PENDING };