Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

gphoto2-port-portability.c File Reference

Detailed Description

Various portability functions.

This file contains various portability functions that make non UNIX (Windows) ports easier.

Definition in file gphoto2-port-portability.c.

#include "config.h"
#include <stdio.h>
#include <gphoto2/gphoto2-port.h>
#include <gphoto2/gphoto2-port-result.h>

Go to the source code of this file.


int gp_system_closedir (gp_system_dir dir)
 closedir UNIX functionality
const char * gp_system_filename (gp_system_dirent de)
 retrieve UNIX filename out of a directory entry
int gp_system_is_dir (const char *dirname)
 check if passed filename is a directory
int gp_system_is_file (const char *filename)
 check if passed filename is a file
int gp_system_mkdir (const char *dirname)
 mkdir UNIX functionality
gp_system_dir gp_system_opendir (const char *dirname)
 opendir UNIX functionality
gp_system_dirent gp_system_readdir (gp_system_dir d)
 readdir UNIX functionality
int gp_system_rmdir (const char *dirname)
 rmdir UNIX functionality

Generated by  Doxygen 1.6.0   Back to index