Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
696 B

  1. #define RCON_REAL(p) ((p)->rcon_real)
  2. /*
  3. ** given a VALUE ptr, return the various fields.
  4. */
  5. #define PV_RCON(P) ((P)->v_rcon)
  6. #define PV_DOUBLE(P) (PV_RCON(P)->rcon_real)
  7. #define PV_LONG(P) ((P)->v_long)
  8. #define PV_STRPTR(P) ((P)->v_string.str_ptr)
  9. #define PV_STRLEN(P) ((P)->v_string.str_len)
  10. #define PV_SYM(P) ((P)->v_symbol)
  11. /*
  12. ** given a reference to a VALUE, return the given field
  13. */
  14. #define V_RCON(V) ((V).v_rcon)
  15. #define V_DOUBLE(V) (V_RCON(V)->rcon_real)
  16. #define V_LONG(V) ((V).v_long)
  17. #define V_STRPTR(V) ((V).v_string.str_ptr)
  18. #define V_STRLEN(V) ((V).v_string.str_len)
  19. #define V_SYM(V) ((V).v_symbol)
  20.