shithub: vcardfs

ref: f43b5b9a6d055938ad4f497e7e556a1e3ad5365c
dir: /README.md/

View raw version
# VCARD filesystem and library

## Contents

- `libvcard`: library for parsing and writing vcard data
- `vcffs`: vcard filesystem (vcf fs); name might change in the future

## Usage

### vcffs

Usage: vcffs [-m mtpt] [-s srv] database.vcf

	/mnt/vcf/
	   ctl
	   import
	   John_Doe/
	      fn/
	         data
	         params/
	            ...
	      n/
	         data
	         ...
	      tel/
	         data
	         ...
	   Jane_Doe/
	      ...

Future plans:

- Make files writable
- ctl: make commands work
- import: make import work
- files: output with newline at the end?

### libvcard

- see `libvcard/vcard.h`
- `Vcard* vcparse(char *str)`
- `Vcard* vcparsefile(char *file)`
- ...