Fix documentation partially. Lot's of work remains to be done...

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1755 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2001-03-15 02:10:36 +00:00
parent a84fc792e4
commit db5a795cd6

View File

@@ -183,35 +183,35 @@ struct gp_port {
/* Initializes the library.
return values:
successful: GP_OK
unsuccessful: GP_ERROR
unsuccessful: < 0
*/
int gp_port_count_get ();
/* Get a count of available devices
return values:
successful: valid gp_port_list struct
unsuccessful: GP_ERROR
unsuccessful: < 0
*/
int gp_port_info_get (int device_number, gp_port_info *info);
/* Get information about a device
return values:
successful: valid gp_port_list struct
unsuccessful: GP_ERROR
unsuccessful: < 0
*/
int gp_port_new (gp_port **dev, gp_port_type type);
/* Create a new device of type "type"
return values:
successful: valid gp_port struct
unsuccessful: GP_ERROR
unsuccessful: < 0
*/
int gp_port_free (gp_port *dev);
/* Frees an IO device from memory
return values:
successful: GP_OK
unsuccessful: GP_ERROR
unsuccessful: < 0
*/
int gp_port_debug_set (gp_port *dev, int debug_level);