Skip to content

[BUG] pre&post action not defined in erpc_c #452

Description

@linx29

Describe the bug

To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information)

  • OS:
  • eRPC Version:

Steps you didn't forgot to do

  • I checked if there is no related issue opened/closed.
  • I checked that there doesn't exist opened PR which is solving this issue.

Additional context

Activity

  1. amgross commented on Apr 8, 2025

    @amgross
    Contributor

    Can you please add description what you need?
    there is under erpc_c:
    erpc_c/infra/erpc_pre_post_action.h/cpp

  2. linx29 commented on Apr 8, 2025

    @linx29
    Author

    In erpc_server_setup.h, there are declarations like:
    'void erpc_server_add_pre_cb_action(erpc_server_t server, pre_post_action_cb preCB);
    'void erpc_server_add_post_cb_action(erpc_server_t server, pre_post_action_cb postCB);'
    But when I tried use them in my code, I got undefined functions. In erpc_server_setup.cpp, the definitions are:
    void erpc_client_add_pre_cb_action(erpc_server_t server, pre_post_action_cb preCB)
    void erpc_client_add_post_cb_action(erpc_server_t server, pre_post_action_cb preCB)

  3. amgross commented on Apr 9, 2025

    @amgross
    Contributor

    Indeed seems those functions in erpc_server_setup.cpp should be renamed.
    You can try opening PR (although the maintainers already for long time not touching this repo)

  4. MichalPrincNXP commented on Feb 20, 2026

    @MichalPrincNXP
    Member

    Resolved within #464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions