listparse.c File Reference

#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "listparse.h"

Functions

int listparse (struct listparse *lst, char *line)

Detailed Description

Parses the output of LIST.

Function Documentation

int listparse ( struct listparse lst,
char *  line 
)

This behemoth parses the output of LIST. At present it works with UNIX format, and DOS/Windows format. There are probably other formats out there, but I haven't seen them and thus they probably aren't in wide use. However, if enough people complain I'll add it in.

Parameters:
lst Where we will put the file information.
line One line of output from LIST.
Returns:
1 if the entry was successfully parsed, 0 otherwise.


Generated by  doxygen 1.4.7.
SourceForge.net Logo