pcloudcc-lneely/pclsync
Levi Neely c687484707
Implement add, remove, and list sync folder commands (#59)
* list_sync_folders seems to work

* list_sync_folders breaks with sync folders in db; message size problem?

* fixed sync folders list

* fix double free and buffer overflow

* wip: add and remove sync folder; need to fix request->value in instance_thread

* remove comment

* removed pclsync_lib_c.{h,cpp}

* cleanup get_answer_to_request

* update comment

* changed reply struct to type response containing payload and msg

* cleanup

* refactored overlay_client, and poverlay; added docs

* better naming

* sock path in poverlay_protocol.h

* clarify comment

* refactor psync_overlay_get_response

* clarifications

* response_messages work with and without payload

* removed commented code

* syncadd works, but i need to fix the error handling

* remove sync folder

* remove commented code, change printfs to debug or simply remove

* removed unnecessary print

* removed more prints

* removed dead var

* update error handling in add_sync_folder, fix memleak

* simplified finalize
2024-08-25 21:54:41 +02:00
..
LICENSE reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
debug.c Merge pclsync and poverlay_linux (#46) 2024-08-18 15:09:21 +02:00
debug.h Merge pclsync and poverlay_linux (#46) 2024-08-18 15:09:21 +02:00
overlay_client.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
overlay_client.h Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
paccountevents.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
papi.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
papi.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pasyncnet.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pasyncnet.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pbusinessaccount.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pbusinessaccount.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcache.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcache.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcallbacks.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcallbacks.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcloudcrypto.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pcloudcrypto.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcompat.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcompat.h Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pcompiler.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcompression.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcompression.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcontacts.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pcontacts.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcrc32c.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcrc32c.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcrypto.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pcrypto.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pdatabase.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pdevice_monitor.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pdevice_monitor.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pdiff.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
pdiff.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pdownload.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pdownload.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pexternalstatus.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pexternalstatus.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfileops.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfileops.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfolder.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
pfolder.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfs.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pfs.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfscrypto.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfscrypto.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsfolder.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsfolder.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsstatic.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsstatic.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfstasks.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfstasks.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsupload.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pfsupload.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsxattr.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pfsxattr.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pintervaltree.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pintervaltree.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plibs.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
plibs.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plist.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plist.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plocalnotify.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plocalnotify.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plocalscan.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
plocalscan.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plocks.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
plocks.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pmemlock.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pmemlock.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pnetlibs.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pnetlibs.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pnotifications.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pnotifications.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
poverlay.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
poverlay.h Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
poverlay_protocol.h Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
pp2p.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pp2p.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppagecache.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppagecache.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppassword.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppassword.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppassworddict.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppathstatus.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ppathstatus.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
prunratelimit.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
prunratelimit.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pscanexts.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pscanner.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pscanner.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psettings.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psettings.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pssl.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
pssl.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psslcerts.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pstatus.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pstatus.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psyncer.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psyncer.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
psynclib.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
psynclib.h Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
ptasks.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptasks.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptimer.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptimer.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptools.c Implement add, remove, and list sync folder commands (#59) 2024-08-25 21:54:41 +02:00
ptools.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptree.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptree.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
ptypes.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
publiclinks.c Bug fixes, build containers, minor updates (#54) 2024-08-20 22:00:38 +02:00
publiclinks.h memleak fixes (#40) 2024-08-15 23:06:55 +02:00
pupload.c reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
pupload.h reorg source tree, link system mbedtls (#38) 2024-08-15 19:49:57 +02:00
sockets.h Merge pclsync and poverlay_linux (#46) 2024-08-18 15:09:21 +02:00