Skip to content

Commit

Permalink
removed irrelevant macros from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos Mavrogiannopoulos committed Jun 15, 2015
1 parent 6dc008a commit 1fa8ab5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions lib/avpair.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
#include <radcli/radcli.h>
#include "util.h"

#define PARSE_MODE_NAME 0
#define PARSE_MODE_EQUAL 1
#define PARSE_MODE_VALUE 2
#define PARSE_MODE_INVALID 3

/**
* @defgroup radcli-api Main API
* @brief Main API Functions
Expand Down Expand Up @@ -505,11 +510,6 @@ static void rc_fieldcpy(char *string, char const **uptr, char const *stopat, siz
return;
}

#define PARSE_MODE_NAME 0
#define PARSE_MODE_EQUAL 1
#define PARSE_MODE_VALUE 2
#define PARSE_MODE_INVALID 3

/** Parses the buffer to extract the attribute-value pairs
*
* @param rh a handle to parsed configuration.
Expand Down
17 changes: 8 additions & 9 deletions lib/sendserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
*
*/

/**
* @defgroup radcli-api Main API
* @brief Main API Functions
*
* @{
*/

#include <includes.h>
#include <radcli/radcli.h>
#include <pathnames.h>
Expand All @@ -27,10 +20,18 @@
#include "rc-md5.h"

#define SA(p) ((struct sockaddr *)(p))
#define SCLOSE(fd) if (sfuncs->close_fd) sfuncs->close_fd(fd)

static void rc_random_vector (unsigned char *);
static int rc_check_reply (AUTH_HDR *, int, char const *, unsigned char const *, unsigned char);

/**
* @defgroup radcli-api Main API
* @brief Main API Functions
*
* @{
*/

/** Packs an attribute value pair list into a buffer
*
* @param vp a pointer to a VALUE_PAIR.
Expand Down Expand Up @@ -277,8 +278,6 @@ static int populate_ctx(RC_AAA_CTX **ctx, char secret[MAX_SECRET_LENGTH+1], uint
return OK_RC;
}

#define SCLOSE(fd) if (sfuncs->close_fd) sfuncs->close_fd(fd)

/** Sends a request to a RADIUS server and waits for the reply
*
* @param rh a handle to parsed configuration
Expand Down

0 comments on commit 1fa8ab5

Please sign in to comment.