summaryrefslogtreecommitdiff
path: root/gphoto2/gphoto2-filesys.h
Commit message (Collapse)AuthorAgeFilesLines
* filesys: Add gp_filesystem_set_info_dirtyDavid Rosca2021-10-221-0/+3
| | | | Use it in ptp2 PTP_EC_ObjectInfoChanged.
* Use consistently named non-reserved CPP macros for header filesHans Ulrich Niedermann2021-10-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | C preprocessor macros beginning/ending with underscores are reserved for system use as well as macros containing a double underscore anywhere, so application software macros are supposed to be named differently. For a header file gphoto2-abilities-list.h, this consistently uses a macro name LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H for the usual #ifndef LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H #define LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H ... content of the header file ... #endif /* !defined(LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H) */ Found using "clang -Weverything". This should work, unless when run with an ancient C preprocessor which might only the first 8 or 10 characters to distinguish macro names and ignores the remainder of the name.
* Remove trailing whitespace from all *.h and *.c files.Siim Meerits2020-07-271-12/+12
|
* Fix typos throughout the codebaseSijawusz Pur Rahnama2020-05-251-1/+1
|
* comment to ANSI CMarcus Meissner2014-06-271-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15019 67ed7778-7388-44ab-90cf-0a291f65f57c
* updated fsf addressMarcus Meissner2014-01-011-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14612 67ed7778-7388-44ab-90cf-0a291f65f57c
* Implemented a gp_camera_file_read partial read function.Marcus Meissner2010-03-261-18/+14
| | | | | | | (draft) git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12848 67ed7778-7388-44ab-90cf-0a291f65f57c
* Batch commit from weekend work:Marcus Meissner2009-02-161-3/+6
| | | | | | | | | | | | | | - removed "type" from CameraFile handling: - all put_file functions and hooks get "type" as argument now - added type to the set_file_info_noop call - started removal of "name" from CameraFile - generate new filename from original filename + camerafile type + mimetype - new gp_camera_autodetect() helper function - adapted all drivers. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11818 67ed7778-7388-44ab-90cf-0a291f65f57c
* * removed CameraFileInfoFile.name, adjusted usersMarcus Meissner2009-01-251-5/+6
| | | | | | | | | | and callers. * added filename argument to put_file_func, set_info_noop and set_file_noop functions. adjusted all camlibs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11773 67ed7778-7388-44ab-90cf-0a291f65f57c
* Rewritten gphoto-filesys:Marcus Meissner2009-01-101-1/+1
| | | | | | | | | | - tree like structure for directories instead of keeping all directories full - fixes LRU problems on capture - no more limits and fixed name sizes git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11674 67ed7778-7388-44ab-90cf-0a291f65f57c
* * gphoto2/gphoto2-filesys.h: Change longMarcus Meissner2007-10-211-11/+11
| | | | | | | | | | | | to uint64_t, int to uint32_t to fix the struct sizes to a better known value (mostly for C#). Include <stdint.h>, a ISO C99 feature. This changes the "CameraFileInfo" and "CameraStorageInformation" struct sizes on all platforms. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10807 67ed7778-7388-44ab-90cf-0a291f65f57c
* some doxygen markup addedMarcus Meissner2007-05-211-3/+9
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10276 67ed7778-7388-44ab-90cf-0a291f65f57c
* marked up with doxygen notes.Marcus Meissner2007-05-201-87/+164
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10266 67ed7778-7388-44ab-90cf-0a291f65f57c
* remove trailing comma from listHans Ulrich Niedermann2007-01-101-3/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9864 67ed7778-7388-44ab-90cf-0a291f65f57c
* implemented a programmatic way to get storage information.Marcus Meissner2007-01-021-1/+60
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9830 67ed7778-7388-44ab-90cf-0a291f65f57c
* Move header files one last time to reduce file path lengths in tarball.Hans Ulrich Niedermann2006-10-141-0/+242
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9330 67ed7778-7388-44ab-90cf-0a291f65f57c