mirror of
https://github.com/upa/mscp.git
synced 2026-05-23 06:17:29 +08:00
add message.h and message.c, mscp_set|get_error()
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message.
This commit is contained in:
@@ -39,7 +39,7 @@ list(APPEND MSCP_LINK_LIBS ${ZLIB_LIBRARIES})
|
||||
|
||||
|
||||
|
||||
set(LIBMSCP_SRC src/mscp.c src/ssh.c src/path.c src/pprint.c src/platform.c)
|
||||
set(LIBMSCP_SRC src/mscp.c src/ssh.c src/path.c src/pprint.c src/platform.c src/message.c)
|
||||
|
||||
# shared libmscp
|
||||
add_library(mscp-shared SHARED ${LIBMSCP_SRC})
|
||||
|
||||
Reference in New Issue
Block a user