Opened 3 years ago
Closed 2 years ago
#7 closed enhancement (fixed)
Code cleanup (octet strings)
| Reported by: | sdecugis | Owned by: | admin |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | framework | Version: | |
| Keywords: | Cc: | dev@freediameter.net | |
| Blocked By: | Blocking: |
Description
Some cleanup is needed in the code:
- for all data coming from the network (Diameter Id, Session Id, ...) use octet string types everywhere (uint8 * + size_t).
- Create a quick function to compare octet strings based on the length first, then on the contents. This will speed many operations. The only limitation is that it is difficult to find if a string is the prefix of another (but we do not use this).
This will impact a large part of the code, and will be performed only after the first release.
Change History (3)
comment:1 Changed 3 years ago by sdecugis
comment:2 Changed 3 years ago by admin
- Summary changed from Code cleanup to Code cleanup (octet strings)
comment:3 Changed 2 years ago by sdecugis
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Another major cleanup to perform (names are temporary):