From: Jim Meyering <[email protected]>

As I mentioned here,
  http://marc.info/?l=openais&m=123876981530755&w=2
I've begun adjusting some APIs in corosync/include.

There are three classes of changes so far:

  - add "const" to pointers that can benefit

  - change "int" parameters to size_t for things like
      lengths and number-of-entries

  - add a "size_t buffer_len" parameter to go with
      a buffer that would otherwise have only an assumed
      (from callee perspective) length.  With a buffer_len,
      the contract is clear, and the callee can avoid overrun.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to