|
408 | 408 | want to call it "big endian" right-away. |
409 | 409 |
|
410 | 410 | - You might wonder what kind of common code belongs in src/shared/ and what |
411 | | - belongs in src/util/. The split is like this: anything that uses public APIs |
| 411 | + belongs in src/basic/. The split is like this: anything that uses public APIs |
412 | 412 | we expose (i.e. any of the sd-bus, sd-login, sd-id128, ... APIs) must be |
413 | 413 | located in src/shared/. All stuff that only uses external libraries from |
414 | 414 | other projects (such as glibc's APIs), or APIs from src/basic/ itself should |
|
418 | 418 | src/basic/ → may be used by all code in the tree |
419 | 419 | → may not use any code outside of src/basic/ |
420 | 420 |
|
421 | | - src/shared/ → may be used by all code in the tree, except for code in src/basic/ |
422 | | - → may not use any code outside of src/basic/, src/shared/, src/libsystemd/ |
423 | | - |
424 | 421 | src/libsystemd/ → may be used by all code in the tree, except for code in src/basic/ |
425 | | - → may not use any code outside of src/basic/, src/shared/, src/libsystemd/ |
| 422 | + → may not use any code outside of src/basic/, src/libsystemd/ |
| 423 | + |
| 424 | + src/shared/ → may be used by all code in the tree, except for code in src/basic/, src/libsystemd/ |
| 425 | + → may not use any code outside of src/basic/, src/libsystemd/, src/shared/ |
426 | 426 |
|
427 | 427 | - Our focus is on the GNU libc (glibc), not any other libcs. If other libcs are |
428 | 428 | incompatible with glibc it's on them. However, if there are equivalent POSIX |
|
0 commit comments