|
42 | 42 | #### System: |
43 | 43 | - [Cross-platform file and directory operations](https://github.com/kala13x/libxutils/blob/main/src/sys/xfs.h) |
44 | 44 | - [Cross-platform CPU affinity manipulation](https://github.com/kala13x/libxutils/blob/main/src/sys/cpu.h) |
45 | | -- [Implementation of advanced file search](https://github.com/kala13x/libxutils/blob/main/src/sys/xfs.h) |
| 45 | +- [Implementation of advanced file search](https://github.com/kala13x/libxutils/blob/main/src/sys/search.h) |
46 | 46 | - [System time manipulation library](https://github.com/kala13x/libxutils/blob/main/src/sys/xtime.h) |
47 | 47 | - [Performance monitoring library](https://github.com/kala13x/libxutils/blob/main/src/sys/mon.h) |
| 48 | +- [File and directory operations](https://github.com/kala13x/libxutils/blob/main/src/sys/xfs.h) |
48 | 49 | - [Simple and fast memory pool](https://github.com/kala13x/libxutils/blob/main/src/sys/pool.h) |
49 | 50 | - [Advanced logging library](https://github.com/kala13x/libxutils/blob/main/src/sys/log.h) |
50 | 51 |
|
@@ -109,38 +110,6 @@ make |
109 | 110 | sudo make install |
110 | 111 | ``` |
111 | 112 |
|
112 | | -### Build particular files only |
113 | | -If you want to use particular files and functions, you can configure the library and select only that functionality for the build. In this way, it is possible not to increase the size of the program and to avoid the linkage of unused code. |
114 | | - |
115 | | -The `libxutils` project has a config file that contains a list of modules that will be included in the build. This file is used by the `build.sh` script, which resolves dependencies for each enabled module and generates a `CMakeList.txt` file. |
116 | | - |
117 | | -Open `xutils.conf` file with a text editor and mark only the functionality you want to include in the build. Use a low-case `y` symbol to enable and any other symbol to disable modules. Removing a related line from the list will also disable the module. |
118 | | - |
119 | | -Example: |
120 | | -``` |
121 | | -... |
122 | | -USE_ARRAY=n |
123 | | -USE_CRYPT=n |
124 | | -USE_XTIME=n |
125 | | -USE_EVENT=y |
126 | | -USE_LIST=n |
127 | | -USE_BUF=n |
128 | | -USE_HASH=n |
129 | | -USE_SOCK=n |
130 | | -USE_LOG=y |
131 | | -USE_STR=n |
132 | | -... |
133 | | -``` |
134 | | -After updating the configuration, use the `build.sh` script to generate the `Makefile` and build the project. |
135 | | - |
136 | | -```bash |
137 | | -./build.sh --tool=cmake |
138 | | -``` |
139 | | - |
140 | | -You may notice that when you select only one module, several other modules may be also included in the build. Because some files depend on other files in the project, the `build.sh` script will automatically resolve these dependencies and include required files in the build as well. |
141 | | - |
142 | | -For example, if you only mark HTTP library for a build, the socket library will be automatically enabled because HTTP uses some functionality from sockets. |
143 | | - |
144 | 113 | ### Dependencies |
145 | 114 | The only dependency that the library uses is the `openssl-devel` package for the `SSL` and `RSA` implementations.\ |
146 | 115 | You can either install the `openssl-devel` package or disable the `SSL` support in the library. |
@@ -186,7 +155,7 @@ cmake . && make |
186 | 155 | #### XTOP and more |
187 | 156 |
|
188 | 157 | <p align="center"> |
189 | | - <img src="https://raw.githubusercontent.com/kala13x/libxutils/main/misc/xtop.png" alt="alternate text"> |
| 158 | + <img src="https://raw.githubusercontent.com/kala13x/libxutils/main/examples/xtop.png" alt="alternate text"> |
190 | 159 | </p> |
191 | 160 |
|
192 | 161 | `XTOP` is `HTOP` like performance monitor that supports to monitor CPU, memory, and network traffic into a single window. In addition, it has powerful `REST API` client/server mode and much more. |
|
0 commit comments