iotaledger / access-server

Apache License 2.0
14 stars 3 forks source link

rename plugins #115

Closed bernardoaraujor closed 4 years ago

bernardoaraujor commented 4 years ago

Requirements

  1. Avoid any protocol (CAN, GPS, GPIO, etc) and wallet references inside Access Core API (access directory). This API must be agnostic and modular, containing only PxP core functionality. All protocol and wallet references must reside in the plugin context. That was the main purpose of https://github.com/iotaledger/access/pull/107
  2. the plugins directory must follow this organization for the PxP plugins: https://rentry.co/ehetq
  3. keep calls to pep_register_callback() and pip_register_callback() inside access.c and not inside main.c. Otherwise the Access Core API is leaking out of the scope of Access Actor.
  4. keep the choice of which PxP plugins are chosen as code inside main.c, pep_plugin.h or pip_plugin.h, but not on access.{c,h}, pep.{c,h} or pip.{c,h}.
strahinjagolic commented 4 years ago

Task 1 done in 186e722ec028b0a28459d3f336ca3e8c1a5f6c3e

strahinjagolic commented 4 years ago

Task 2 done in d75f71e0421805d607a1ec30100182a654185426