forked from FreeRADIUS/freeradius-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
5,671 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# $Id$ | ||
# | ||
|
||
TARGET = @targetname@ | ||
SRCS = rlm_protobuf.c vsa.pb-c.c | ||
HEADERS = vsa.pb-c.h | ||
RLM_LIBS = @protobuf_ldflags@ | ||
RLM_CFLAGS = @protobuf_cflags@ | ||
RLM_UTILS = vsa.pb-c.h vsa.pb-c.c | ||
|
||
include ../rules.mak | ||
|
||
vsa.pb-c.c vsa.pb-c.h: vsa.proto | ||
protoc-c --c_out . vsa.proto | ||
|
||
$(LT_OBJS): $(HEADERS) |
Oops, something went wrong.
310873b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "static curl" variables belong in the module configuration. That allows multiple versions of the protobuf module, each pointing to a different server.
With the new API in the "master" branch, this is pretty easy.
Also, there's no need to include the "configure" script. We can (and will) regenerate that.
Over all, though, it looks interesting. Protocol buffers have a lot of utility.